diff options
author | sefidel <contact@sefidel.net> | 2022-02-15 13:28:51 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-02-15 13:56:22 +0900 |
commit | 0620f8ee8f999ee3d7a9554483ffc99df15161e1 (patch) | |
tree | 680dd25d19843030859b8044e3903e29d16b1d26 /home/profiles | |
parent | 46adfc2f3be0dea448fe774827ca83e583e2b0e1 (diff) | |
download | nixrc-0620f8ee8f999ee3d7a9554483ffc99df15161e1.tar.gz nixrc-0620f8ee8f999ee3d7a9554483ffc99df15161e1.zip |
feat(home/messaging): set neomutt keybinds
Diffstat (limited to 'home/profiles')
-rw-r--r-- | home/profiles/messaging/default.nix | 47 |
1 files changed, 45 insertions, 2 deletions
diff --git a/home/profiles/messaging/default.nix b/home/profiles/messaging/default.nix index ecc441d..27087b1 100644 --- a/home/profiles/messaging/default.nix +++ b/home/profiles/messaging/default.nix @@ -111,8 +111,51 @@ in edit_headers = "yes"; }; - # binds = mapKeys []; - # macros = mapKeys []; + binds = mapKeys [ + "index,pager i noop" + "index,pager g noop" + "index \\Cf noop" + "index j next-entry" + "index k previous-entry" + "attach <return> view-mailcap" + "attach l view-mailcap" + "editor <space> noop" + "index G last-entry" + "index gg first-entry" + "pager,attach h exit" + "pager j next-line" + "pager k previous-line" + "pager l view-attachments" + "index D delete-message" + "index U undelete-message" + "index L limit" + "index h noop" + "index l display-message" + "index,query <space> tag-entry" + "browser h goto-parent" + "index,pager H view-raw-message" + "browser l select-entry" + "pager,browser gg top-page" + "pager,browser G bottom-page" + "index,pager,browser d half-down" + "index,pager,browser u half-up" + "index,pager S sync-mailbox" + "index,pager R group-reply" + "index \\031 previous-undeleted" # Mouse wheel + "index \\005 next-undeleted" # Mouse wheel + "pager \\031 previous-line" # Mouse wheel + "pager \\005 next-line" # Mouse wheel + "editor <Tab> complete-query" + + # Pager stuff + "index,pager B sidebar-toggle-visible" + ]; + macros = mapKeys [ + "index,pager \\Ck <sidebar-prev><sidebar-open>" + "index,pager \\Cj <sidebar-next><sidebar-open>" + "index,pager \\Cp <sidebar-prev-new><sidebar-open>" + "index,pager \\Cn <sidebar-next-new><sidebar-open>" + ]; extraConfig = '' # Default index colors: |