blob: d4abf288278630bca1a1a8e50bcb4b44f52f7335 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# neomutt macros for sync, URL extraction, flag legend, and quit
{ config, lib, ... }:
let
cfg = config.communication.neomutt;
in
{
config.programs.neomutt.macros = lib.mkIf cfg.enable [
{
map = [
"index"
"pager"
];
key = "gx";
action = "<pipe-message>urlscan<enter>";
}
{
map = [ "index" ];
key = "gF";
action = "<limit>all<enter>";
}
{
map = [ "index" ];
key = "ZZ";
action = "<sync-mailbox><quit>";
}
];
}
|