summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-06-26 12:44:55 +0200
committerGravatar Tom Willemsen2011-06-26 12:44:55 +0200
commita49222661c695c9c18b543a1700d090bfef0a636 (patch)
treef05ab7786cc0ac02c2ed56951385eb68f3ca5ee9
parent5bf444d83fb0f31099f1c2c92d4584176a9dbd07 (diff)
downloaddotfiles-a49222661c695c9c18b543a1700d090bfef0a636.tar.gz
dotfiles-a49222661c695c9c18b543a1700d090bfef0a636.zip
MUTT: mailcap and keys
Added mailcap entry for jpeg files Fixed type in launch abook Added keybinds for easier mailbox access
-rw-r--r--mutt/mailcap1
-rw-r--r--muttrc6
2 files changed, 6 insertions, 1 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
index 4342ce8..d2e4695 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -1,3 +1,4 @@
text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s
application/vnd.ms-excel; libreoffice %s
+image/jpeg; feh %s
diff --git a/muttrc b/muttrc
index 9653757..21a7cae 100644
--- a/muttrc
+++ b/muttrc
@@ -102,8 +102,12 @@ set query_command = "abook --mutt-query '%s'"
# macros
macro index I "<change-folder>!<enter>" "go to Inbox"
macro index Z "<shell-escape>/usr/bin/offlineimap -q -o<enter>" "sync IMAP"
-macro generic,index,pager \ca "<shell-escape>abook<return>" "lanch abook"
+macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
+macro generic,index,pager <ESC>1 "<change-folder>=gmail/INBOX<return>" "Show gmail inbox"
+macro generic,index,pager <ESC>2 "<change-folder>=arch/INBOX<return>" "Show arch inbox"
+macro generic,index,pager <ESC>3 "<change-folder>=aethon/INBOX<return>" "Show aethon inbox"
+macro generic,index,pager <ESC>4 "<change-folder>=iactor/INBOX<return>" "Show iactor inbox"
# key bindings
bind pager \177 previous-line # default didn't want to work anymore