]> git.madduck.net Git - etc/mutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

bind p to external pager call
authormartin f. krafft <madduck@madduck.net>
Wed, 26 Jan 2011 13:35:53 +0000 (14:35 +0100)
committermartin f. krafft <madduck@madduck.net>
Wed, 26 Jan 2011 13:35:53 +0000 (14:35 +0100)
.mutt/keybindings

index 448a894a2b449a2cecd640ccaebf1290f346d0d2..c983b4f2358f1c8d10b07438d167b667e1cd55c8 100644 (file)
@@ -8,7 +8,7 @@ bind index,pager        \eD     delete-subthread
 
 bind pager,index       <backtab>       previous-unread
 
-macro pager,index      p       "<enter-command><enter>" "do nothing"
+macro index    p       "<enter-command><enter>" "do nothing"
 
 ##macro index  L       "<list-reply><save-message>=store<enter>"
 macro index            S       "<tag-prefix><save-message>=store<enter><sync-mailbox>" "save messages to store"
@@ -48,6 +48,8 @@ macro pager           ~       '<exit><search>~' "shortcut to pattern search"
 
 bind index,pager       \en     search-opposite
 
+macro pager    p       '<pipe-message>less -c<enter>' "pipe message into pager"
+
 bind pager             [       half-up
 bind pager             ]       half-down