diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-19 00:24:10 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-29 03:50:27 +0530 |
| commit | 2492b513c4189c31fb965af584a6bb0b73d01531 (patch) | |
| tree | 8169610e7b85f3530db9aabf4f32d8f5f311b135 /modules/communication/neomutt/keybindings.nix | |
| parent | 2ac22a72455341a3efced289782fe5daf5d788ee (diff) | |
| download | home-manager-config-2492b513c4189c31fb965af584a6bb0b73d01531.tar.gz home-manager-config-2492b513c4189c31fb965af584a6bb0b73d01531.zip | |
feat: neomutt vim-like keybindings, graphics acceleration on chromium
- added/replaced some more keybindings to be more vim-like
- fixed the graphics acceleration on ungoogled-chromium by forcing it to
use opengl pipelines
Diffstat (limited to 'modules/communication/neomutt/keybindings.nix')
| -rw-r--r-- | modules/communication/neomutt/keybindings.nix | 14 |
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") |
