Add some patch related binds to aerc

main
Ensar Sarajčić 2022-07-27 07:45:54 +02:00
parent 7d0a3116a8
commit cc591f3c36
3 changed files with 24 additions and 0 deletions

View File

@ -55,6 +55,13 @@ n = :next-result<Enter>
N = :prev-result<Enter> N = :prev-result<Enter>
<Esc> = :clear<Enter> <Esc> = :clear<Enter>
ga = :flag<Enter>:pipe -mb git am -3<Enter>
gp = :term git push<Enter>
gl = :term git log<Enter>
rt = :reply -a -Tthanks<Enter>
Rt = :reply -qa -Tquoted_thanks<Enter>
[view] [view]
/ = :toggle-key-passthrough<Enter>/ / = :toggle-key-passthrough<Enter>/
q = :close<Enter> q = :close<Enter>
@ -109,6 +116,10 @@ e = :edit<Enter>
a = :attach<space> a = :attach<space>
d = :detach<space> d = :detach<space>
V = :header -f X-Sourcehut-Patchset-Update NEEDS_REVISION<Enter>
A = :header -f X-Sourcehut-Patchset-Update APPLIED<Enter>
R = :header -f X-Sourcehut-Patchset-Update REJECTED<Enter>
[terminal] [terminal]
$noinherit = true $noinherit = true
$ex = <C-x> $ex = <C-x>

View File

@ -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}}

View File

@ -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'" ""}}