################################# #configuration file for MUA Mutt# #created by Arno Gaboury # #last modfified July 2012 # ################################# ################# #Local directory# ################# set alias_file= /home/gabx/.config/mutt/alias #contains all allias set certificate_file= ~/.mutt/certificates # where to store certs set header_cache= ~/.config/mutt/cache/headers #store headers set message_cachedir= /home/gabx/.config/mutt/cache #store bodies set mailcap_path = ~/.config/mutt/mailcap # entrys for filetypes set signature= ~/.mutt/sig # my signature file ########### #User info# ########### set realname="Arno Gaboury" set hostname= "Magnolia" my_hdr Host: Magnolia on Arch Linux #my header my_hdr Reply-to: arnaud.gaboury@gmail.com my_hdr From: arnaud.gaboury@gmail.com ###################### #Server configuration# ###################### #We do not need this part when using offlineimap to fetch mails # #unset imap_passive #allow to open connection automatically #set imap_keepalive = 300 #polling connection every 300 sec #set mail_check = 30 #check mail every 30 sec #set timeout = 15 #will check mail after 15 sec if no key pressed ############################# #local mailbox configuration# ############################# set mbox_type=Maildir #format where each message is a separate file set folder= "~/Mail/gmail" set spoolfile= "+INBOX" # Gmail is default inbox set delete # don't ask, just do set pager_stop # don't go to next message automatically set postponed = "+Drafts" folder-hook . "exec collapse-all" #collapse all threads as default ################# #Files to source# ################# source /home/gabx/.config/mutt/colors/mytheme #source color file #source /home/gabx/.config/mutt/gmail.muttrc #source gmail configuration source /home/gabx/.config/mutt/muttmailboxes #list mboxes ############### #Mailing lists# ############### lists arch-dev-public@archlinux.org lists arch-general@archlinux.org lists arch-aur@archlinux.org lists virt-tools-list@redhat.com lists texhax@tug.org subscribe arch-dev-public@archlinux.org subscribe arch-general@archlinux.org subscribe arch-aur@archlinux.org subscribe texhax@tug.org unsubscribe virt-tools-list@redhat.com ############## #Binding Keys# ############## bind pager q exit bind pager / search bind pager previous-line bind pager next-line bind pager k previous-line bind pager j next-line bind pager gg top bind pager G bottom bind pager i exit bind index K previous-unread bind index J next-unread bind index W clear-flag bind index w set-flag bind index gg first-entry ############## #Compose Mail# ############## set from="$realname" set edit_headers #show headers when composing set fast_reply #go to compose directly when replying set sig_dashes #dsahes before the sig set forward_quote #include message forwards set fcc_attach #save attachement with body unset mime_forward #forward attachement as part of body set forward_decode set reply_to #reply to Reply to field, not From field set editor= 'vim + -c "set textwidth=72" -c "set wrap" -c "set nocp" -c "?^$"' set ispell= "/usr/bin/aspell -e -c" #use aspell to check spell ##VARIOUS## #auto_view text/html alternative_order text/plain text/enriched text/html set move = no #Stop asking to "move read messages to mbox"! set sendmail = /usr/bin/msmtp #use mstp default account # macros macro index ,gobox " =INBOX" "go to Inbox" macro index ,gosent "=+Gmail/Sent " "Go to 'Sent Mail'" macro index ,isync "offlineimap -q -o" "sync IMAP"