Skip to content

Instantly share code, notes, and snippets.

@lancechentw
Created September 20, 2012 05:39
Show Gist options
  • Save lancechentw/3754133 to your computer and use it in GitHub Desktop.
Save lancechentw/3754133 to your computer and use it in GitHub Desktop.
Muttrc example
ignore *
unignore from: subject to cc date x-mailer x-url user-agent x-label
hdr_order date from to cc subject
set locale='zh_TW.utf8'
set charset='utf8'
set assumed_charset = 'cp950:gb2312:UTF-8'
set send_charset='utf8'
# Change <Your Name>
set realname = "<Your Name>"
set editor = "vim"
set pager_index_lines = 10
set beep_new = yes
set mailcap_path = ~/.mutt/mailcap
auto_view text/html
alternative_order text/plain text/html *
set postponed = "Mail/Drafts"
set record = "Mail/Sent"
# Change <Your id>
mailboxes = /var/mail/<Your id> Mail/Spam Mail/Drafts Mail/Sent
# Comment out if you want to use sidebar and mutt is patched with sidebar(check with mutt -v)
#set sidebar_visible=yes
#set sidebar_width=25
#macro index,pager ^N ":exec sidebar-next<enter>"
#macro index,pager ^P ":exec sidebar-prev<enter>"
#macro index,pager ^O ":exec sidebar-open<enter>"
set sort = 'threads'
set sort_aux = 'last-date-received'
text/html; w3m -I %{charset} -T text/html; copiousoutput;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment