diff options
Diffstat (limited to 'modules')
| -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 |
