summaryrefslogtreecommitdiff
path: root/muttrc
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-10-23 03:14:36 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-10-23 03:14:36 -0300
commit5b132bf1244a008ad3ce67688030a7678831f77d (patch)
tree501aa27e89f81d5f4bdfaab31c72378991a9c749 /muttrc
downloaddotfiles-5b132bf1244a008ad3ce67688030a7678831f77d.tar.gz
Initial commit
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc191
1 files changed, 191 insertions, 0 deletions
diff --git a/muttrc b/muttrc
new file mode 100644
index 0000000..f0c9feb
--- /dev/null
+++ b/muttrc
@@ -0,0 +1,191 @@
+# Store messages localy to speed things up.
+set header_cache = /tmp/mutt-cache
+set message_cachedir = /tmp/mutt-cache
+set alias_file = ~/.mutt/aliases
+source $alias_file
+
+# Sidebar settings
+set sidebar_visible = yes
+set sidebar_width = 24
+set sidebar_sort = yes
+#set sidebar_indentstr = ' '
+#set sidebar_folderindent = yes
+#set sidebar_shortpath = yes
+#set sidebar_format="%B%?F? [%F]?%* %?N?%N/?%S"
+
+# Smtp opmbx
+#set my_user=park
+set my_user=matiaslina@openmailbox.org
+set my_pass="`echo -n $PASSWORD`"
+set realname='Matias Linares'
+set smtp_url=smtp://$my_user:$my_pass@smtp.team-deprecated.org
+#set from = park@team-deprecated.org
+set from = matiaslina@openmailbox.org
+#unset ssl_verify_host
+
+# IMAP opmbx
+#set imap_user=park
+#set imap_pass=$my_pass
+#set folder=imap://imap.team-deprecated.org:143/
+set imap_user=matiaslina@openmailbox.org
+set imap_pass="$my_pass"
+set folder=imap://imap.openmailbox.org:143/
+set spoolfile=+INBOX
+set record="+Sent"
+#set imap_check_subscribed = yes
+#mailboxes = +INBOX
+mailboxes = +INBOX +Archlinux +Archlinux/Development \
+ +Archlinux/Announces +Suckless \
+ +Herbstluftwm +FaMAF +MobaSimulator +team-deprecated
+set use_from=yes
+#set ssl_force_tls = yes
+# Don't wit to enter mailbox manually
+unset imap_passive
+# Reduce polling frequency
+set net_inc=5
+
+# timeouts
+set mail_check=60
+set imap_keepalive = 300
+set timeout = 300
+
+# Mailing lists
+subscribe hlwm@lists.herbstluftwm.org
+subscribe dev@suckless.org
+subscribe arch-general@archlinux.org
+subscribe arch-announce@archlinux.org
+subscribe arch-dev-public@archlinux.org
+
+# Misc.
+#set pager_index_lines=5
+set sort="threads"
+set sort_aux = "reverse-last-date-received"
+set editor="vim"
+
+set signature = ~/.mutt/signature
+
+# GPG
+source ~/.mutt/gpg.rc
+set pgp_sign_as = 7D7B9EF2
+set pgp_timeout = 3600
+set pgp_use_gpg_agent = yes
+set crypt_verify_sig = yes
+set crypt_autosign = yes
+set crypt_replyencrypt = yes
+
+# Headers
+my_hdr X-Operating-System: Arch Linux, `uname -o` `uname -r`
+my_hdr X-PGP-Key: http://www.famaf.unc.edu.ar/~mlm0111/pubkey.asc
+my_hdr OpenPGP: id=7D7B9EF2\; \
+url=http://www.famaf.unc.edu.ar/~mlm0111/pubkey.asc\; \
+preference=signencrypt
+
+# Vi-like keybindings
+bind generic l select-entry
+macro index h '<change-folder>?'
+bind index,pager H display-toggle-weed
+bind pager h exit
+bind pager j next-line
+bind pager k previous-line
+bind pager l view-attachments
+bind attach,compose l view-attach
+bind attach h exit
+bind attach H display-toggle-weed
+bind compose l view-attach
+
+macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
+macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
+
+# Ctrl-n, Ctrl-p to select next, previous folder.
+# Ctrl-o to open selected folder.
+bind index,pager \CP sidebar-prev
+bind index,pager \CN sidebar-next
+bind index,pager \CO sidebar-open
+
+
+# Colours for items in the index
+
+color index brightcyan default ~N
+color index brightred default ~O
+color index brightyellow default ~F
+color index default green ~T
+color index brightred default ~D
+mono index bold ~N
+mono index bold ~F
+mono index bold ~T
+mono index bold ~D
+
+# Highlights inside the body of a message.
+
+# URLs
+color body brightgreen default "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
+color body brightgreen default "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
+mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
+mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
+
+## Email addresses.
+color body brightgreen default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
+
+## Header
+color header green default "^from:"
+color header green default "^to:"
+color header green default "^cc:"
+color header green default "^date:"
+color header yellow default "^newsgroups:"
+color header yellow default "^reply-to:"
+color header brightcyan default "^subject:"
+color header red default "^x-spam-rule:"
+color header green default "^x-mailer:"
+color header yellow default "^message-id:"
+color header yellow default "^Organization:"
+color header yellow default "^Organisation:"
+color header yellow default "^User-Agent:"
+color header yellow default "^message-id: .*pine"
+color header yellow default "^X-Fnord:"
+color header yellow default "^X-WebTV-Stationery:"
+
+color header red default "^x-spam-rule:"
+color header green default "^x-mailer:"
+color header yellow default "^message-id:"
+color header yellow default "^Organization:"
+color header yellow default "^Organisation:"
+color header yellow default "^User-Agent:"
+color header yellow default "^message-id: .*pine"
+color header yellow default "^X-Fnord:"
+color header yellow default "^X-WebTV-Stationery:"
+color header yellow default "^X-Message-Flag:"
+color header yellow default "^X-Spam-Status:"
+color header yellow default "^X-SpamProbe:"
+color header red default "^X-SpamProbe: SPAM"
+
+## Coloring quoted text - coloring the first 7 levels:
+color quoted cyan default
+color quoted1 yellow default
+color quoted2 red default
+color quoted3 green default
+color quoted4 cyan default
+color quoted5 yellow default
+color quoted6 red default
+color quoted7 green default
+
+## Default color definitions
+#color hdrdefault white green
+
+color signature brightmagenta default
+color indicator default cyan
+color attachment black cyan
+color error red default
+color message white default
+color search brightwhite magenta
+color status brightyellow blue
+color tree brightblue default
+color normal white default
+color tilde green default
+color bold brightyellow default
+#color underline magenta default
+color markers brightcyan default
+
+## Colour definitions when on a mono screen
+mono bold bold
+mono underline underline
+mono indicator reverse