AutoYADM commit: 2025-03-12 01:45:06
This commit is contained in:
parent
315bdc2762
commit
e3b5bc7e7b
6 changed files with 39 additions and 1 deletions
|
@ -727,7 +727,7 @@ no-attachment-warning=^[^>]*attach(ed|ment)
|
|||
#
|
||||
# Example (obviously, this requires that you write your main text/plain body
|
||||
# using the markdown syntax):
|
||||
# text/html=pandoc -f markdown -t html --standalone
|
||||
text/html=pandoc -f markdown -t html --standalone
|
||||
|
||||
[filters]
|
||||
#
|
||||
|
|
|
@ -180,6 +180,7 @@ q = :choose -o d discard abort -o p postpone postpone<Enter> # Abort or postpone
|
|||
e = :edit<Enter> # Edit (body and headers)
|
||||
a = :attach<space> # Add attachment
|
||||
d = :detach<space> # Remove attachment
|
||||
H = :multipart text/html<Enter>
|
||||
|
||||
[terminal]
|
||||
$noinherit = true
|
||||
|
|
8
.config/aerc/templates/forward_as_body
Normal file
8
.config/aerc/templates/forward_as_body
Normal file
|
@ -0,0 +1,8 @@
|
|||
X-Mailer: aerc {{version}}
|
||||
|
||||
Forwarded message from {{.OriginalFrom | names | join ", "}} on {{dateFormat .OriginalDate "Mon Jan 2, 2006 at 3:04 PM"}}:
|
||||
{{.OriginalText}}
|
||||
{{- with .Signature }}
|
||||
|
||||
{{.}}
|
||||
{{- end }}
|
5
.config/aerc/templates/new_message
Normal file
5
.config/aerc/templates/new_message
Normal file
|
@ -0,0 +1,5 @@
|
|||
X-Mailer: aerc {{version}}
|
||||
{{- with .Signature }}
|
||||
|
||||
{{.}}
|
||||
{{- end -}}
|
20
.config/aerc/templates/quoted_reply
Normal file
20
.config/aerc/templates/quoted_reply
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
|
||||
{{ if or
|
||||
(eq .OriginalMIMEType "text/html")
|
||||
(contains (toLower .OriginalText) "<html")
|
||||
}}
|
||||
{{- $text := exec `/usr/lib/aerc/filters/html` .OriginalText | replace `\r` `` -}}
|
||||
{{- range split "\n" $text -}}
|
||||
{{- if eq . "References:" }}{{break}}{{end}}
|
||||
{{- if or
|
||||
(eq (len .) 0)
|
||||
(match `^\[.+\]\s*$` .)
|
||||
}}{{continue}}{{end}}
|
||||
{{- printf "%s\n" . | replace `^[\s]+` "" | quote}}
|
||||
{{- end -}}
|
||||
{{- else }}
|
||||
{{- trimSignature .OriginalText | quote -}}
|
||||
{{- end -}}
|
||||
|
||||
{{.Signature -}}
|
|
@ -67,6 +67,7 @@ command = "iwes"
|
|||
|
||||
[[language]]
|
||||
name = "markdown"
|
||||
file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }, { glob = "/tmp/aerc-compose-*.eml" }]
|
||||
# language-servers = ["ltex-ls-plus", "marksman", "scls"]
|
||||
language-servers = ["harper-ls", "marksman", "scls"]
|
||||
formatter = { command = "dprint", args = ["fmt", "--stdin", "md"] }
|
||||
|
@ -91,6 +92,9 @@ onSave = true
|
|||
name = "mail"
|
||||
# scope = "text.mail"
|
||||
# file-types = ["eml"]
|
||||
# file-types = [
|
||||
# "eml"
|
||||
# ]
|
||||
language-servers = ["harper-ls"]
|
||||
# injection-regex = "mail|eml|email"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue