From: martin f. krafft Date: Mon, 12 May 2008 11:48:34 +0000 (+0100) Subject: add keybinding to print to file X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/341bd6ce5893da21a65c8e0fd6fc3970d09308b8 add keybinding to print to file --- diff --git a/.mutt/keybindings b/.mutt/keybindings index f2a5312..2126b16 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -1,6 +1,7 @@ bind index,pager | pipe-message bind index,pager ! flag-message -bind index,pager \ep print-message +macro index,pager \ep "muttprint -p TO_FILE:$tmpdir/muttprint.ps -D && gv $tmpdir/muttprint.ps && rm $tmpdir/muttprint.ps" +bind index,pager \eP print-message bind index,pager previous-entry bind index,pager next-entry bind index,pager p previous-undeleted