Set some keybindings

This commit is contained in:
flyingscorpio@clevo 2022-05-14 12:51:22 +02:00
parent 327993cf66
commit 1fdcbd35c7

View file

@ -24,46 +24,39 @@ unset imap_passive # open imap connection when checking for mail
#auto_view application/pgp-encrypted #auto_view application/pgp-encrypted
#alternative_order text/plain text/enriched text/html #alternative_order text/plain text/enriched text/html
#bind index,pager i noop bind index,pager i noop
#bind index,pager g noop bind index,pager g noop
#bind index \Cf noop #bind index \Cf noop
#bind index,pager M noop #bind index,pager M noop
#bind index,pager C noop #bind index,pager C noop
# General rebindings # General rebindings
#bind index gg first-entry bind index gg first-entry
#bind index j next-entry bind pager,browser gg top-page
#bind index k previous-entry bind index G last-entry
#bind attach <return> view-mailcap bind pager,browser G bottom-page
#bind attach l view-mailcap bind index h noop
#bind editor <space> noop bind pager,attach h exit
#bind index G last-entry #bind browser h goto-parent
#bind index gg first-entry macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
#bind pager,attach h exit bind index j next-entry
#bind pager j next-line bind pager j next-line
#bind pager k previous-line bind index k previous-entry
#bind pager l view-attachments bind pager k previous-line
#bind index D delete-message bind index l display-message
#bind index U undelete-message bind pager l view-attachments
bind attach l view-mailcap
bind attach <return> view-mailcap
bind browser l select-entry
bind index D delete-message
bind index U undelete-message
bind editor <space> noop
#bind index L limit #bind index L limit
#bind index h noop bind index,query <space> tag-entry
#bind index l display-message
#bind index,query <space> tag-entry
##bind browser h goto-parent
#macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
#bind index,pager H view-raw-message #bind index,pager H view-raw-message
#bind browser l select-entry bind index,pager S sync-mailbox
#bind pager,browser gg top-page bind index,pager R group-reply
#bind pager,browser G bottom-page bind editor <Tab> complete-query
#bind index,pager,browser d half-down
#bind index,pager,browser u half-up
#bind index,pager S sync-mailbox
#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
#bind editor <Tab> complete-query
#macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" #macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
#macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" #macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
@ -182,7 +175,7 @@ color sidebar_flagged red black
{% for account in accounts %} {% for account in accounts %}
source ~/.config/neomutt/accounts/{{ account.fulladdress }}.neomuttrc source ~/.config/neomutt/accounts/{{ account.fulladdress }}.neomuttrc
folder-hook $folder source ~/.config/neomutt/accounts/{{ account.fulladdress }}.neomuttrc folder-hook $folder source ~/.config/neomutt/accounts/{{ account.fulladdress }}.neomuttrc
macro index,pager <f{{ loop.index }}> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/{{ account.fulladdress }}.neomuttrc<enter><change-folder>!<enter>;<check-stats>' "switch to {{ account.fulladdress }}" macro index,pager i{{ loop.index }} '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/{{ account.fulladdress }}.neomuttrc<enter><change-folder>!<enter>;<check-stats>' "switch to {{ account.fulladdress }}"
{% endfor %} {% endfor %}
#macro index 'c' '<change-folder>?<change-dir><home> =<enter>' #macro index 'c' '<change-folder>?<change-dir><home> =<enter>'