summaryrefslogtreecommitdiff
path: root/home-config/aerc
diff options
context:
space:
mode:
Diffstat (limited to 'home-config/aerc')
-rw-r--r--home-config/aerc/binds.conf5
-rw-r--r--home-config/aerc/templates/quoted_reply1
-rw-r--r--home-config/aerc/templates/thanks7
3 files changed, 13 insertions, 0 deletions
diff --git a/home-config/aerc/binds.conf b/home-config/aerc/binds.conf
index f06ee85..4dee57f 100644
--- a/home-config/aerc/binds.conf
+++ b/home-config/aerc/binds.conf
@@ -49,6 +49,11 @@ Rr = :reply<Enter>
49Rq = :reply -q<Enter> 49Rq = :reply -q<Enter>
50f = :forward -A<Enter> 50f = :forward -A<Enter>
51 51
52# Git custom stuff ala Drew Devault
53ga = :pipe -mb git am -3<Enter>
54gp = :term git push<Enter>
55rt = :reply -aTthanks<Enter>
56
52c = :cf<space> 57c = :cf<space>
53$ = :term<space> 58$ = :term<space>
54! = :term<space> 59! = :term<space>
diff --git a/home-config/aerc/templates/quoted_reply b/home-config/aerc/templates/quoted_reply
index dc184d9..402515f 100644
--- a/home-config/aerc/templates/quoted_reply
+++ b/home-config/aerc/templates/quoted_reply
@@ -1,5 +1,6 @@
1X-Mailer: aerc {{version}} 1X-Mailer: aerc {{version}}
2 2
3{{.Signature}}
3 4
4On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote: 5On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote:
5{{trimSignature .OriginalText | quote}} 6{{trimSignature .OriginalText | quote}}
diff --git a/home-config/aerc/templates/thanks b/home-config/aerc/templates/thanks
new file mode 100644
index 0000000..bc920a6
--- /dev/null
+++ b/home-config/aerc/templates/thanks
@@ -0,0 +1,7 @@
1X-Mailer: aerc {{version}}
2
3Thanks!
4
5{{exec "{ git remote get-url --push origin; git reflog -2 origin/main --pretty=format:%h; } | xargs printf 'To %s\n %s..%s main -> main\n'" ""}}
6
7{{.Signature}}