aboutsummaryrefslogtreecommitdiffstats
path: root/modules/communication/neomutt/keybindings.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/communication/neomutt/keybindings.nix')
-rw-r--r--modules/communication/neomutt/keybindings.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/communication/neomutt/keybindings.nix b/modules/communication/neomutt/keybindings.nix
index 4dab4a5..7903d9a 100644
--- a/modules/communication/neomutt/keybindings.nix
+++ b/modules/communication/neomutt/keybindings.nix
@@ -10,6 +10,7 @@ in
{
config.programs.neomutt.binds = lib.mkIf config.communication.neomutt.enable [
# Index ------------------------------------------------------------------
+ (bind [ "index" ] "$" "noop")
(bind [ "index" ] "g" "noop")
(bind [ "index" ] "d" "noop")
(bind [ "index" ] "z" "noop")
@@ -20,6 +21,7 @@ in
(bind [ "index" ] "h" "noop")
(bind [ "index" ] "<Space>" "noop")
(bind [ "index" ] ":q" "exit")
+ (bind [ "index" ] ":w" "sync-mailbox")
(bind [ "index" ] "j" "next-entry")
(bind [ "index" ] "k" "previous-entry")
(bind [ "index" ] "gg" "first-entry")
@@ -67,6 +69,7 @@ in
(bind [ "pager" ] "q" "noop")
(bind [ "pager" ] "\\Ch" "help")
(bind [ "pager" ] ":q" "exit")
+ (bind [ "pager" ] ":w" "sync-mailbox")
(bind [ "pager" ] "j" "next-line")
(bind [ "pager" ] "k" "previous-line")
(bind [ "pager" ] "gg" "top")
@@ -102,8 +105,13 @@ in
(bind [ "attach" ] "q" "noop")
(bind [ "attach" ] "\\Ch" "help")
(bind [ "attach" ] ":q" "exit")
+ (bind [ "attach" ] ":w" "save-entry")
(bind [ "attach" ] "j" "next-entry")
(bind [ "attach" ] "k" "previous-entry")
+ (bind [ "attach" ] "gg" "first-entry")
+ (bind [ "attach" ] "G" "last-entry")
+ (bind [ "attach" ] "\\Cd" "half-down")
+ (bind [ "attach" ] "\\Cu" "half-up")
(bind [ "attach" ] "l" "view-attach")
(bind [ "attach" ] "s" "save-entry")
(bind [ "attach" ] "p" "print-entry")
@@ -125,12 +133,18 @@ in
(bind [ "browser" ] "\\Cu" "half-up")
# Compose menu -----------------------------------------------------------
+ (bind [ "compose" ] "g" "noop")
(bind [ "compose" ] ":" "noop")
(bind [ "compose" ] "q" "noop")
(bind [ "compose" ] "\\Ch" "help")
(bind [ "compose" ] ":q" "exit")
+ (bind [ "compose" ] ":w" "postpone-message")
(bind [ "compose" ] "j" "next-entry")
(bind [ "compose" ] "k" "previous-entry")
+ (bind [ "compose" ] "gg" "first-entry")
+ (bind [ "compose" ] "G" "last-entry")
+ (bind [ "compose" ] "\\Cd" "half-down")
+ (bind [ "compose" ] "\\Cu" "half-up")
(bind [ "compose" ] "y" "send-message")
(bind [ "compose" ] "a" "attach-file")
(bind [ "compose" ] "e" "edit-message")