summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-04 17:48:22 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-04 17:48:22 -0500
commitfc19ef9861d9b46752a26aaea2bbbdf8b29d8bfd (patch)
tree75819055e9c4c870e6e6d7a738bc10ac1a156c74
parent4bfe1c634c1be6a240a21a356a1d1cd924ec0fad (diff)
parent758516a9cb20d76d0eb5372eb489d3480ed7e570 (diff)
vim bindings for browser
-rw-r--r--muttrc16
1 files changed, 9 insertions, 7 deletions
diff --git a/muttrc b/muttrc
index 9ace1aa..24df1ae 100644
--- 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