vim bindings for browser

This commit is contained in:
Luke Smith 2019-02-04 17:48:22 -05:00
commit fc19ef9861
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

16
muttrc
View File

@ -31,21 +31,23 @@ bind index G last-entry
bind index gg first-entry bind index gg first-entry
bind pager j next-line bind pager j next-line
bind pager k previous-line bind pager k previous-line
bind pager gg top bind browser h goto-parent
bind pager G bottom bind browser l select-entry
bind index d half-down bind pager,browser gg top-page
bind index u half-up 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 D delete-message
bind index U undelete-message bind index U undelete-message
bind index F search bind index,browser F search
bind index,pager R group-reply bind index,pager R group-reply
bind index \031 previous-undeleted # Mouse wheel bind index \031 previous-undeleted # Mouse wheel
bind index \005 next-undeleted # Mouse wheel bind index \005 next-undeleted # Mouse wheel
bind pager \031 previous-line # Mouse wheel bind pager \031 previous-line # Mouse wheel
bind pager \005 next-line # Mouse wheel bind pager \005 next-line # Mouse wheel
macro index,pager S <sync-mailbox> macro index,pager S <sync-mailbox>
macro index,pager \Cu "|urlscan -r 'setsid $BROWSER {}'"\n macro index,pager \Cu "|urlscan -r 'setsid $BROWSER \"{}\"'"\n
macro index,pager ,, "|urlscan -r 'setsid $BROWSER {}'"\n macro index,pager ,, "|urlscan -r 'setsid $BROWSER \"{}\"'"\n
# View attachments properly. # View attachments properly.
bind attach <return> view-mailcap bind attach <return> view-mailcap