commit fc19ef9861d9b46752a26aaea2bbbdf8b29d8bfd
parent 4bfe1c634c1be6a240a21a356a1d1cd924ec0fad
Author: Luke Smith <luke@lukesmith.xyz>
Date: Mon, 4 Feb 2019 17:48:22 -0500
vim bindings for browser
Diffstat:
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/muttrc b/muttrc
@@ -31,21 +31,23 @@ bind index G last-entry
bind index gg first-entry
bind pager j next-line
bind pager k previous-line
-bind pager gg top
-bind pager G bottom
-bind index d half-down
-bind index u half-up
+bind browser h goto-parent
+bind browser l select-entry
+bind pager,browser gg top-page
+bind pager,browser G bottom-page
+bind index,browser d half-down
+bind index,browser u half-up
bind index D delete-message
bind index U undelete-message
-bind index F search
+bind index,browser F search
bind index,pager R group-reply
bind index \031 previous-undeleted # Mouse wheel
bind index \005 next-undeleted # Mouse wheel
bind pager \031 previous-line # Mouse wheel
bind pager \005 next-line # Mouse wheel
macro index,pager S <sync-mailbox>
-macro index,pager \Cu "|urlscan -r 'setsid $BROWSER {}'"\n
-macro index,pager ,, "|urlscan -r 'setsid $BROWSER {}'"\n
+macro index,pager \Cu "|urlscan -r 'setsid $BROWSER \"{}\"'"\n
+macro index,pager ,, "|urlscan -r 'setsid $BROWSER \"{}\"'"\n
# View attachments properly.
bind attach <return> view-mailcap