From e77d0649f54bffca84cf5e5b55265f3bc0ca5c42 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 12 Jul 2026 03:29:20 +0530 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/programs/neomutt/default.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'modules/programs/neomutt/default.nix') 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 = "" @@ -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 = [ -- cgit v1.2.3