diff --git a/symlinks/config/aerc/binds.conf b/symlinks/config/aerc/binds.conf index f5e0393..177e21c 100644 --- a/symlinks/config/aerc/binds.conf +++ b/symlinks/config/aerc/binds.conf @@ -55,6 +55,13 @@ n = :next-result N = :prev-result = :clear +ga = :flag:pipe -mb git am -3 +gp = :term git push +gl = :term git log + +rt = :reply -a -Tthanks +Rt = :reply -qa -Tquoted_thanks + [view] / = :toggle-key-passthrough/ q = :close @@ -109,6 +116,10 @@ e = :edit a = :attach d = :detach +V = :header -f X-Sourcehut-Patchset-Update NEEDS_REVISION +A = :header -f X-Sourcehut-Patchset-Update APPLIED +R = :header -f X-Sourcehut-Patchset-Update REJECTED + [terminal] $noinherit = true $ex = diff --git a/symlinks/config/aerc/templates/quoted_thanks b/symlinks/config/aerc/templates/quoted_thanks new file mode 100644 index 0000000..50de5b5 --- /dev/null +++ b/symlinks/config/aerc/templates/quoted_thanks @@ -0,0 +1,8 @@ +X-Sourcehut-Patchset-Update: APPLIED + +Thanks! + +{{exec "{ git remote get-url --push origin; git reflog -2 origin/master --pretty=format:%h | xargs printf '%s\n' | tac; } | xargs printf 'To %s\n %s..%s master -> master'" ""}} + +On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote: +{{wrapText .OriginalText 72 | quote}} diff --git a/symlinks/config/aerc/templates/thanks b/symlinks/config/aerc/templates/thanks new file mode 100644 index 0000000..a310988 --- /dev/null +++ b/symlinks/config/aerc/templates/thanks @@ -0,0 +1,5 @@ +X-Sourcehut-Patchset-Update: APPLIED + +Thanks! + +{{exec "{ git remote get-url --push origin; git reflog -2 origin/master --pretty=format:%h | xargs printf '%s\n' | tac; } | xargs printf 'To %s\n %s..%s master -> master'" ""}}