diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-12 03:29:20 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-12 03:29:20 +0530 |
| commit | e77d0649f54bffca84cf5e5b55265f3bc0ca5c42 (patch) | |
| tree | 72230a063c6deb10fff6ec3155e6f4f62db6edab | |
| parent | b31e557488d0c094cb49f525ae3af82afedf572d (diff) | |
| download | home-manager-config-e77d0649f54bffca84cf5e5b55265f3bc0ca5c42.tar.gz home-manager-config-e77d0649f54bffca84cf5e5b55265f3bc0ca5c42.zip | |
feat(neomutt): some more keybinding changes to neomutt
∙
∙ added a help view keybinding g?
∙ using ctrl+d and ctrl+u for half page scrolling
∙ using continious scrolling
∙ added year to the date of emails list in index page
| -rw-r--r-- | modules/programs/neomutt/default.nix | 18 | ||||
| -rw-r--r-- | modules/programs/neomutt/theme.nix | 2 |
2 files changed, 17 insertions, 3 deletions
diff --git a/modules/programs/neomutt/default.nix b/modules/programs/neomutt/default.nix index 30d3b11..b144af0 100644 --- a/modules/programs/neomutt/default.nix +++ b/modules/programs/neomutt/default.nix @@ -83,6 +83,8 @@ in checkStatsInterval = 20; extraConfig = '' + set menu_scroll = yes + # cancel any prompt/command-line entry with Esc, vim-style set abort_key = "<Esc>" @@ -270,12 +272,12 @@ in { map = [ "index" ]; key = "\\Cd"; - action = "next-page"; + action = "half-down"; } { map = [ "index" ]; key = "\\Cu"; - action = "previous-page"; + action = "half-up"; } # --- search (vim: / forward, ? backward, n/N repeat) --- @@ -356,6 +358,18 @@ in key = "gt"; action = "next-unread-mailbox"; } + + # --- help message to show functions and keybindings --- + { + map = [ + "index" + "pager" + "browser" + "attach" + ]; + key = "g?"; + action = "help"; + } ]; macros = [ diff --git a/modules/programs/neomutt/theme.nix b/modules/programs/neomutt/theme.nix index f83004c..b770975 100644 --- a/modules/programs/neomutt/theme.nix +++ b/modules/programs/neomutt/theme.nix @@ -9,7 +9,7 @@ # Base16 OneDark Dark terminal colors for neomutt # Each column in the index receives a distinct color to keep the UI organized. - set index_format = " %5C │ %Z │ %{%d/%m %H:%M} │ %-25.25a │ %s%* " + set index_format = " %5C │ %Z │ %{%d/%m/%y %H:%M} │ %-25.25a │ %s%* " # Hide the keybindings help bar at the top to save vertical space set help = no |
