]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - mutt/.mutt/muttrc
Fix incorrect editor command
[max/dotfiles.git] / mutt / .mutt / muttrc
index 4157ad8a68f57c8e53bb1c5e1be36de49cab28db..c5cf8f255cb369bd227d71af5f5b6ed5b4655d90 100644 (file)
@@ -1,12 +1,15 @@
 # Macro keys for different mailboxes
 macro index <f2> '<sync-mailbox><change-folder>imaps://mail.friedersdorff.com<enter>'
 macro index <f3> '<sync-mailbox><change-folder>imaps://outlook.office365.com<enter>'
-macro index <f4> '<sync-mailbox><change-folder>imaps://imap.gmail.com<enter>'
+macro index <f4> '<sync-mailbox><change-folder>imaps://maxf130@imap.gmail.com<enter>'
+macro index <f5> '<sync-mailbox><change-folder>imaps://max@musoft.co.uk@imap.gmail.com<enter>'
+
 
 # Configuration files for different mailboxes
 folder-hook 'friedersdorff.com' 'source ~/.mutt/account.com.friedersdorff.max'
 folder-hook 'office365.com' 'source ~/.mutt/account.uk.ac.le.student.mf195'
-folder-hook 'gmail.com' 'source ~/.mutt/account.com.gmail.maxf130'
+folder-hook 'maxf130@imap.gmail.com' 'source ~/.mutt/account.com.gmail.maxf130'
+folder-hook 'max@musoft.co.uk@imap.gmail.com' 'source ~/.mutt/account.uk.co.musoft.max'
 
 macro index 'c' '<change-folder>?<change-dir><home>^K+<enter>'
 
@@ -15,7 +18,21 @@ source "gpg -dq ~/.mutt/passwords.gpg |"
 # Always check personal email first
 source ~/.mutt/account.com.friedersdorff.max
 
+# Automatically render html emails.  Not sure if this is a good idea
 auto_view text/html
 alternative_order text/plain text/enriched text/html
 
+# Solarized color theme
 source ~/.mutt/solarized.muttrc
+
+# use abook for aliases
+set alias_file=~/.mutt/aliases
+set sort_alias= alias
+source $alias_file
+
+# View urls more easily with urlview
+macro index \cb   "|urlview\n"
+macro pager \cb   "|urlview\n"
+
+set text_flowed=yes
+set editor="vim +':set textwidth=0' +':set wrapmargin=0' +':set wrap'"