From 776a7ca55d2d2c3f396de91db1c6c3c5065012cd Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Fri, 29 Mar 2024 15:19:07 -0400 Subject: preparations for presentation --- home-config/aerc/binds.conf | 5 +++++ home-config/aerc/templates/quoted_reply | 1 + home-config/aerc/templates/thanks | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 home-config/aerc/templates/thanks (limited to 'home-config/aerc') 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 Rq = :reply -q f = :forward -A +# Git custom stuff ala Drew Devault +ga = :pipe -mb git am -3 +gp = :term git push +rt = :reply -aTthanks + c = :cf $ = :term ! = :term 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 @@ X-Mailer: aerc {{version}} +{{.Signature}} On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote: {{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 @@ +X-Mailer: aerc {{version}} + +Thanks! + +{{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'" ""}} + +{{.Signature}} -- cgit v1.2.3