summaryrefslogtreecommitdiff
path: root/.mutt/muttrc
diff options
context:
space:
mode:
Diffstat (limited to '.mutt/muttrc')
-rw-r--r--.mutt/muttrc99
1 files changed, 99 insertions, 0 deletions
diff --git a/.mutt/muttrc b/.mutt/muttrc
new file mode 100644
index 0000000..fb57f0a
--- /dev/null
+++ b/.mutt/muttrc
@@ -0,0 +1,99 @@
+# General information
+set from = "u.vaes13@imperial.ac.uk"
+set realname = "Urbain Vaes"
+set use_from = yes
+set envelope_from = "yes"
+set weed
+
+# 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 mailcap_path = ~/.mutt/mailcap
+set tmpdir = ~/.mutt/temp
+set signature = ~/.mutt/sig
+
+# Maildirs
+set spoolfile = "+Main/Main"
+set record = "+Main/Sent"
+set postponed = "+Main/Drafts"
+
+# Headers
+ignore *
+unignore from: to: cc: date: subject:
+unhdr_order *
+hdr_order from: to: cc: date: subject:
+
+mailboxes +Main/Main \
+ +Imperial/Imperial \
+ +Hotmail/Hotmail \
+ +Gmail/Gmail \
+ +Main/Sent \
+ +Main/Drafts \
+
+# Prompts
+set delete = yes
+set quit = yes
+
+# Pager
+set pager_index_lines = 10
+set pager_context = 0
+set pager_stop
+set reverse_alias
+set menu_scroll
+set tilde
+unset markers
+set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
+alternative_order text/plain text/enriched text/html
+
+# Editor
+set editor="nvim --noplugin"
+set include=yes
+
+# Program to send mails
+set sendmail="/usr/bin/msmtp"
+
+# Sorting options
+# set sort = threads
+set sort_aux = reverse-last-date-received
+# set sort_browser = reverse-date
+
+# Alias file
+source ~/.mutt/alias
+
+# HTML messages
+auto_view text/html
+
+# Key bindings
+bind index,pager \Cf next-page
+bind index,pager \Cb previous-page
+bind index,pager "}" sidebar-next
+bind index,pager "{" sidebar-prev
+bind index,pager O sidebar-open
+
+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
+
+# Source mutt solarized
+`[ "$COLORSCHEME" = "light" ] && echo source $HOME/github/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc || echo set`
+`[ "$COLORSCHEME" = "dark" ] && echo source $HOME/github/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc || echo set`
+`[ "$COLORSCHEME" = "default" ] && echo source $HOME/github/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc || echo set`
+
+color index red default "~F"
+color index brightblue default "~f edfenergy"
+color index brightblue default "~f terravision"
+color index magenta default "~f avaaz"
+color index magenta default "~f santos"
+color index magenta default "~f rusudan"
+color index cyan default "~U"
+color index green default "~f pavliotis"
+color index green default "~f abdulle"