From a49222661c695c9c18b543a1700d090bfef0a636 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 26 Jun 2011 12:44:55 +0200 Subject: [PATCH] MUTT: mailcap and keys Added mailcap entry for jpeg files Fixed type in launch abook Added keybinds for easier mailbox access --- mutt/mailcap | 1 + muttrc | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 "!" "go to Inbox" macro index Z "/usr/bin/offlineimap -q -o" "sync IMAP" -macro generic,index,pager \ca "abook" "lanch abook" +macro generic,index,pager \ca "abook" "launch abook" macro index,pager A "abook --add-email" "add the sender address to abook" +macro generic,index,pager 1 "=gmail/INBOX" "Show gmail inbox" +macro generic,index,pager 2 "=arch/INBOX" "Show arch inbox" +macro generic,index,pager 3 "=aethon/INBOX" "Show aethon inbox" +macro generic,index,pager 4 "=iactor/INBOX" "Show iactor inbox" # key bindings bind pager \177 previous-line # default didn't want to work anymore