]> 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 64dd0f921c120795c399b9699905422b242b408f..6bbf740fec456384e39a5575aa498705d55386a0 100644 (file)
@@ -3,7 +3,6 @@ bind index,pager        !       flag-message
 bind index,pager       \eP     print-message
 bind index,pager       <up>    previous-entry
 bind index,pager       <down>  next-entry
-bind index,pager       \eS     decode-save
 bind index,pager       \eU     undelete-subthread
 bind index,pager       \eD     delete-subthread
 
@@ -41,11 +40,19 @@ 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
 
+macro index,pager      \eS     '<enter-command>set noweed<enter><decode-save>'
+macro index,pager      \eC     '<enter-command>set noweed<enter><decode-copy>'
+
 macro index            \Co     '<tag-prefix><save-message>imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net<enter>' 'save message to logcheck-todo'
 macro pager            \Co     '<save-message>imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net<enter>' 'save message to logcheck-todo'
 macro index,pager      \eo     '<change-folder>imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net<enter>' 'go to logcheck todo folder'