aboutsummaryrefslogtreecommitdiffstats
path: root/modules/communication/neomutt/macros.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-20 18:59:44 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-20 18:59:44 +0530
commit76f87b5818b24fb2703a6ff2e516947bd3ed6002 (patch)
treeedd6c51ad0a19bec3c35ffc13d8e261fd704e8af /modules/communication/neomutt/macros.nix
parentee1092571a1f369de21c64da07d9c70ab90c0fbf (diff)
downloadhome-manager-config-76f87b5818b24fb2703a6ff2e516947bd3ed6002.tar.gz
home-manager-config-76f87b5818b24fb2703a6ff2e516947bd3ed6002.zip
feat(communication/neomutt): using chawan as the default pager
Diffstat (limited to 'modules/communication/neomutt/macros.nix')
-rw-r--r--modules/communication/neomutt/macros.nix18
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/communication/neomutt/macros.nix b/modules/communication/neomutt/macros.nix
index 884b6b9..4e5bf7b 100644
--- a/modules/communication/neomutt/macros.nix
+++ b/modules/communication/neomutt/macros.nix
@@ -3,16 +3,6 @@
{
config.programs.neomutt.macros = lib.mkIf config.communication.neomutt.enable [
{
- # Sync the mailbox and run the external neomutt-sync script
- map = [
- "index"
- "pager"
- ];
- key = "gs";
- action = "<enter-command>set my_wait_key=$wait_key wait_key=no<enter><sync-mailbox><shell-escape>neomutt-sync<enter><sync-mailbox><enter-command>set wait_key=$my_wait_key<enter>";
- }
- {
- # Extract every URL from the message via urlscan into a picker menu
map = [
"index"
"pager"
@@ -21,19 +11,11 @@
action = "<pipe-message>urlscan<enter>";
}
{
- # Pipe the selected attachment instead of the whole message
- map = [ "attach" ];
- key = "gx";
- action = "<pipe-entry>${lib.getExe config.web.chawan.package} -T text/html <enter>";
- }
- {
- # Clear the current limit and show every message again
map = [ "index" ];
key = "gF";
action = "<limit>all<enter>";
}
{
- # Save the mailbox and quit
map = [ "index" ];
key = "ZZ";
action = "<sync-mailbox><quit>";