aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-10 15:22:31 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-10 15:30:26 +0530
commit76151ef2be0768145fa1bc78ad17abbdda1b8ec7 (patch)
treec853ebdd55f8d3df2e50af242ac418dfce3a4308 /modules/programs
parent2172a6598a25c3e4325fd482691eccf0061c6145 (diff)
downloadhome-manager-config-76151ef2be0768145fa1bc78ad17abbdda1b8ec7.tar.gz
home-manager-config-76151ef2be0768145fa1bc78ad17abbdda1b8ec7.zip
feat: added some neomutt macros and keybindings
using O for running mbsync -a (for syncing the emails from the server and downloading locally) using Ctrl+j, Ctrl+k and Ctrl+o (for moving down, up and opening the mailboxes)
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/neomutt/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/modules/programs/neomutt/default.nix b/modules/programs/neomutt/default.nix
index 2787240..ef57761 100644
--- a/modules/programs/neomutt/default.nix
+++ b/modules/programs/neomutt/default.nix
@@ -16,6 +16,43 @@
sidebar.enable = true;
sort = "reverse-threads";
vimKeys = true;
+ binds = [
+ {
+ map = [
+ "index"
+ "pager"
+ ];
+ key = "\\CK";
+ action = "sidebar-prev";
+ }
+ {
+ map = [
+ "index"
+ "pager"
+ ];
+ key = "\\CJ";
+ action = "sidebar-next";
+ }
+ {
+ map = [
+ "index"
+ "pager"
+ ];
+ key = "\\CO";
+ action = "sidebar-open";
+ }
+ ];
+
+ macros = [
+ {
+ map = [
+ "index"
+ "pager"
+ ];
+ key = "O";
+ action = "<sync-mailbox><shell-escape>mbsync -a<enter><sync-mailbox>";
+ }
+ ];
};
};
}