From 2a04c7f786998410b0afba88094d70ba0ec8bd22 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 5 Mar 2021 15:58:12 +0100 Subject: mutt: configureted for 2+ mails --- mutt/.neomuttrc | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) (limited to 'mutt/.neomuttrc') diff --git a/mutt/.neomuttrc b/mutt/.neomuttrc index d28af36..7ca9cde 100644 --- a/mutt/.neomuttrc +++ b/mutt/.neomuttrc @@ -1,24 +1,11 @@ -set realname = "Santo Cariotti" -set from = "" -set use_from = yes -set envelope_from = yes +# Folder hooks +folder-hook '' 'source ~/.neomutt/' -set smtp_url = "smtp://@:/" -set smtp_pass = "" +# Default account +source ~/.neomutt/ -set imap_user = "" -set imap_pass = "" - -set folder = "~/.mail/" - -set ssl_force_tls = yes -set sendmail = "msmtp -a " -set mbox_type = Maildir -set spoolfile = +INBOX -set record = +Sent -set postponed = +Drafts -set trash = +Trash -mailboxes =INBOX =Sent =Drafts =Trash +# Macros for switching accounts +macro index 'source ~/.neomutt/!' set editor = "vim" set charset = "utf-8" @@ -51,8 +38,9 @@ bind index,pager J sidebar-next bind index,pager L sidebar-open bind index,pager B sidebar-toggle-visible -# synchronization settings ['s' to sync] -macro index S "mbsync -V " "sync email" +source ~/.neomutt/colors.muttrc +bind index j next-entry +bind index k previous-entry bind pager j next-line bind pager k previous-line @@ -79,8 +67,3 @@ set fcc_attach # save attachments with the body set forward_format = "Fwd: %s" # format of subject when forwarding set mailcap_path = ~/.neomutt/mailcap - -color indicator black yellow - -source ~/.neomutt/colors.muttrc - -- cgit v1.2.3-18-g5258