MUTT: mailcap and keys

Added mailcap entry for jpeg files
Fixed type in launch abook
Added keybinds for easier mailbox access
This commit is contained in:
Tom Willemsen 2011-06-26 12:44:55 +02:00
parent 5bf444d83f
commit a49222661c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,4 @@
text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s
application/vnd.ms-excel; libreoffice %s application/vnd.ms-excel; libreoffice %s
image/jpeg; feh %s

6
muttrc
View file

@ -102,8 +102,12 @@ set query_command = "abook --mutt-query '%s'"
# macros # macros
macro index I "<change-folder>!<enter>" "go to Inbox" macro index I "<change-folder>!<enter>" "go to Inbox"
macro index Z "<shell-escape>/usr/bin/offlineimap -q -o<enter>" "sync IMAP" 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 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 # key bindings
bind pager \177 previous-line # default didn't want to work anymore bind pager \177 previous-line # default didn't want to work anymore