From 4ee603461d3b4dd16f847761d48b12f831a3b57e Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 1 Jan 2013 00:37:04 +0100 Subject: Add nice .muttrc tailored for gmail --- .muttrc | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .muttrc diff --git a/.muttrc b/.muttrc new file mode 100644 index 0000000..a65f74b --- /dev/null +++ b/.muttrc @@ -0,0 +1,49 @@ +# A basic .muttrc for use with Gmail + +# Change the following six lines to match your Gmail account details +set imap_user = "yuv.adm@gmail.com" +set smtp_url = "smtp://yuv.adm@smtp.gmail.com:587/" +set from = "yuv.adm@gmail.com" +set realname = "Yuval Adam" + +# Change the following line to a different editor you prefer. +set editor = "vim" + +# Basic config, you can leave this as is +set folder = "imaps://imap.gmail.com:993" +set spoolfile = "+INBOX" +set imap_check_subscribed +set hostname = gmail.com +set mail_check = 120 +set timeout = 300 +set imap_keepalive = 300 +set postponed = "+[GMail]/Drafts" +set record = "+[GMail]/Sent Mail" +set header_cache=~/.mutt/cache/headers +set message_cachedir=~/.mutt/cache/bodies +set certificate_file=~/.mutt/certificates +set move = no +set include +set sort = 'threads' +set sort_aux = 'reverse-last-date-received' +set auto_tag = yes +ignore "Authentication-Results:" +ignore "DomainKey-Signature:" +ignore "DKIM-Signature:" +hdr_order Date From To Cc +alternative_order text/plain text/html * +auto_view text/html +bind editor complete-query +bind editor ^T complete +bind editor noop + +# Gmail-style keyboard shortcuts +macro index,pager y "unset trash\n " "Gmail archive message" +macro index,pager d "set trash=\"imaps://imap.googlemail.com/[GMail]/Bin\"\n " "Gmail delete message" +macro index,pager gi "=INBOX" "Go to inbox" +macro index,pager ga "=[Gmail]/All Mail" "Go to all mail" +macro index,pager gs "=[Gmail]/Starred" "Go to starred messages" +macro index,pager gd "=[Gmail]/Drafts" "Go to drafts" + +# Hebrew support +set display_filter=bidiv -- cgit v1.3.1