summaryrefslogtreecommitdiff
path: root/mutt/.mutt/muttrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-04-19 15:24:25 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-04-19 15:24:25 +0100
commite146e947c52ac4adbe426b3f893faff1e46ed5f8 (patch)
tree1605bf4eb78cc619988c92632f3cee2a56143fd5 /mutt/.mutt/muttrc
parent83bd503208d45fa837348441196dd07223b13e3e (diff)
Use GNU stow for dotfiles management
Diffstat (limited to 'mutt/.mutt/muttrc')
-rw-r--r--mutt/.mutt/muttrc94
1 files changed, 94 insertions, 0 deletions
diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc
new file mode 100644
index 0000000..2264a95
--- /dev/null
+++ b/mutt/.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/colors
+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="$EDITOR"
+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`
+
+# Identities
+set reverse_name
+alternates "*@urbainvaes.com"