summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aerc.conf.in5
-rw-r--r--config/config.go2
2 files changed, 7 insertions, 0 deletions
diff --git a/config/aerc.conf.in b/config/aerc.conf.in
index 4decaef..3919b39 100644
--- a/config/aerc.conf.in
+++ b/config/aerc.conf.in
@@ -224,6 +224,11 @@ new-email=
# default: @SHAREDIR@/templates/
template-dirs=@SHAREDIR@/templates/
+# The default template to be used for new messages.
+#
+# default: new_message
+new-message=new_message
+
# The default template to be used for quoted replies.
#
# default: quoted_reply
diff --git a/config/config.go b/config/config.go
index 0472daf..2e1d589 100644
--- a/config/config.go
+++ b/config/config.go
@@ -146,6 +146,7 @@ type TriggersConfig struct {
type TemplateConfig struct {
TemplateDirs []string `ini:"template-dirs", delim:":"`
+ NewMessage string `ini:"new-message"`
QuotedReply string `ini:"quoted-reply"`
Forwards string `ini:"forwards"`
}
@@ -595,6 +596,7 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
Templates: TemplateConfig{
TemplateDirs: []string{path.Join(sharedir, "templates")},
+ NewMessage: "new_message",
QuotedReply: "quoted_reply",
Forwards: "forward_as_body",
},