]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/keybindings

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:

exit pager, not in index when using ~
[etc/mutt.git] / .mutt / keybindings
index 932e6ac6049d397dd95043b3b8f4a30ecf3261ed..6bbf740fec456384e39a5575aa498705d55386a0 100644 (file)
@@ -40,7 +40,12 @@ macro index,pager    \Cb     '<enter-command>set my_pipe_decode="$pipe_decode"<enter><e
 macro compose  Y       '<edit-fcc><kill-line><enter><send-message>' "send message without storing"
 macro compose  \Cy     '<pgp-menu>cY' "send message without storing or signing"
 
-macro index            F       '<limit>~L ' "search for correspondents"
+macro index,pager      F       '<limit>~L ' "search for correspondents"
+
+macro index            ~       '<search>~' "shortcut to pattern search"
+macro pager            ~       '<exit><search>~' "shortcut to pattern search"
+
+bind index,pager       \en     search-opposite
 
 bind pager             [       half-up
 bind pager             ]       half-down