summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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