aboutsummaryrefslogtreecommitdiff
path: root/modules/aerc.nix
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2026-03-18 19:21:13 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2026-03-18 19:21:27 -0400
commite3b494cdf1bf0049a0797ec1c14ca279b1f253ec (patch)
tree9a960562fe520bb41a493753a4317d59c2c48450 /modules/aerc.nix
parent02b143f5342cc5354e669ca5e214d7ae464b1888 (diff)
downloadhome-e3b494cdf1bf0049a0797ec1c14ca279b1f253ec.tar.gz
modules/email: various changes for `git send-email` workflow
Diffstat (limited to 'modules/aerc.nix')
-rw-r--r--modules/aerc.nix27
1 files changed, 24 insertions, 3 deletions
diff --git a/modules/aerc.nix b/modules/aerc.nix
index c575395..bb95583 100644
--- a/modules/aerc.nix
+++ b/modules/aerc.nix
@@ -19,12 +19,29 @@ in
unsafe-accounts-conf = true;
default-menu-cmd = "fzf --tmux";
};
- ui.sidebar-width = 0;
+ ui = {
+ this-day-time-format="03:04 PM";
+ this-year-time-format="2006-01-02";
+ dirlist-tree=true;
+ dirlipse-collapse=1;
+ sidebar-width = 20;
+ };
+ "ui:folder=Sent" = {
+ index-columns = "date<20,name<17,flags>4,subject<*";
+ column-name = "{{index (.To | names) 0}}";
+ };
filters = {
- "text/plain" = "colorize";
+ "subject,~^\\[PATCH"="hldiff";
+ "subject,~^\\[RFC"="hldiff";
+ "text/*" = "plaintext";
+ "text/calendar" = "calendar";
+ "text/html" = "html | colorize";
+ "message/delivery-status" = "colorize";
+ "message/rfc822" = "colorize";
};
viewer = {
- pager = "nvim +Man!";
+ # pager = "nvim +Man!";
+ pager = "less -Rc";
};
};
extraBinds = {
@@ -144,6 +161,10 @@ in
"a" = ":attach<space>";
"d" = ":detach<space>";
};
+ "compose::editor" = {
+ "$noinherit" = "true";
+ "$ex" = "<C-x>";
+ };
terminal = {
"$noinherit" = "true";
"$ex" = "<C-x>";