diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2024-03-29 15:19:07 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2024-03-29 15:19:07 -0400 |
| commit | 776a7ca55d2d2c3f396de91db1c6c3c5065012cd (patch) | |
| tree | 2e6e146c3a38cd60e787be6693987f19302d887f /home-config/aerc | |
| parent | 47649ff12988dda259eab0b0fcdbb96eaafa7c94 (diff) | |
preparations for presentation
Diffstat (limited to 'home-config/aerc')
| -rw-r--r-- | home-config/aerc/binds.conf | 5 | ||||
| -rw-r--r-- | home-config/aerc/templates/quoted_reply | 1 | ||||
| -rw-r--r-- | home-config/aerc/templates/thanks | 7 |
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> | |||
| 49 | Rq = :reply -q<Enter> | 49 | Rq = :reply -q<Enter> |
| 50 | f = :forward -A<Enter> | 50 | f = :forward -A<Enter> |
| 51 | 51 | ||
| 52 | # Git custom stuff ala Drew Devault | ||
| 53 | ga = :pipe -mb git am -3<Enter> | ||
| 54 | gp = :term git push<Enter> | ||
| 55 | rt = :reply -aTthanks<Enter> | ||
| 56 | |||
| 52 | c = :cf<space> | 57 | c = :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 @@ | |||
| 1 | X-Mailer: aerc {{version}} | 1 | X-Mailer: aerc {{version}} |
| 2 | 2 | ||
| 3 | {{.Signature}} | ||
| 3 | 4 | ||
| 4 | On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote: | 5 | On {{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 @@ | |||
| 1 | X-Mailer: aerc {{version}} | ||
| 2 | |||
| 3 | Thanks! | ||
| 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}} | ||
