From 0620f8ee8f999ee3d7a9554483ffc99df15161e1 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 15 Feb 2022 13:28:51 +0900 Subject: feat(home/messaging): set neomutt keybinds --- home/profiles/messaging/default.nix | 47 +++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) (limited to 'home') 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 view-mailcap" + "attach l view-mailcap" + "editor 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 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 complete-query" + + # Pager stuff + "index,pager B sidebar-toggle-visible" + ]; + macros = mapKeys [ + "index,pager \\Ck " + "index,pager \\Cj " + "index,pager \\Cp " + "index,pager \\Cn " + ]; extraConfig = '' # Default index colors: -- cgit 1.4.1