diff options
Diffstat (limited to 'mutt/muttrc')
-rw-r--r-- | mutt/muttrc | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/mutt/muttrc b/mutt/muttrc new file mode 100644 index 0000000..2eb660d --- /dev/null +++ b/mutt/muttrc @@ -0,0 +1,94 @@ +# Folders +set folder = ~/.mail +set alias_file = ~/.mutt/alias +set header_cache = ~/.mutt/cache/headers +set message_cachedir = ~/.mutt/cache/bodies +set certificate_file = ~/.mutt/certificates +set signature = ~/.mutt/signature +set mailcap_path = ~/.mutt/mailcap +set tmpdir = ~/.mutt/temp + +# Source crypto, aliases, mailboxes +source ~/.mutt/crypto +source ~/.mutt/alias +source ~/.mutt/mailboxes +source ~/.mutt/id_work + +# General information +set realname = "Urbain Vaes" +set reverse_alias +set sort = reverse-date +set weed +set fcc_clear +unset markers +set sleep_time = 0 + +# Encryption +set crypt_autosign = no +set crypt_replyencrypt = yes +set pgp_auto_decode = yes +set pgp_autosign = no +set pgp_sign_as = 716064C0 +set pgp_use_gpg_agent = yes +set pgp_timeout = 3600 + +# Sidebar +set sidebar_width=26 +set sidebar_visible = yes +set sidebar_delim='|' +set sidebar_shortpath = yes +set sidebar_folderindent = yes +set sidebar_format = "%B%* %?F?[%F]?%?N?(%N)?%4S" +bind index,pager \Cn sidebar-next +bind index,pager \Cp sidebar-prev +bind index,pager O sidebar-open + +# Prompts +set delete = yes +set quit = yes + +# Pager +set pager_stop +set pager_index_lines = 10 + +# HTML messages +auto_view text/html +alternative_order text/plain text/enriched text/html + +# Editor +set editor="vim" +set include=yes + +# Macros +macro index,pager gp "<change-folder> +Personal/Personal<enter>" +macro index,pager gw "<change-folder> +Work/Work<enter>" + +# Key bindings +bind attach <return> view-mailcap + +bind index,pager \Cf next-page +bind index,pager \Cb previous-page +bind index,pager \Cu next-unread-mailbox + +bind index gg first-entry +bind index G last-entry +bind index i flag-message + +bind pager \Ce next-line +bind pager \Cy previous-line +bind pager j next-entry +bind pager k previous-entry +bind pager R group-reply + +# Hooks +folder-hook 'Work*' 'source ~/.mutt/id_work' +folder-hook 'Personal*' 'source ~/.mutt/id_personal' + +# Source mutt solarized +`[ "$COLORSCHEME" = "light" ] && echo source $HOME/.mutt/solarized/mutt-colors-solarized-light-16.muttrc || echo set` +`[ "$COLORSCHEME" = "dark" ] && echo source $HOME/.mutt/solarized/mutt-colors-solarized-dark-16.muttrc || echo set` +`[ "$COLORSCHEME" = "default" ] && echo source $HOME/.mutt/solarized/mutt-colors-solarized-dark-16.muttrc || echo set` + +# Identities +set reverse_name +alternates "*@urbainvaes.com" |