aboutsummaryrefslogtreecommitdiffstats
path: root/muttrc
diff options
context:
space:
mode:
authorTeddy Wing2021-03-14 05:32:14 +0100
committerTeddy Wing2021-03-14 05:32:14 +0100
commitb819da554755713f91e23aa498932bc31fd11965 (patch)
tree4893c463820d463fd50ca26ae15daf6a56630e2b /muttrc
parenta4de50c4073b75e390de57847f9e821e5f1b8fb8 (diff)
downloadmutt-ottolangy-b819da554755713f91e23aa498932bc31fd11965.tar.bz2
Add a muttrc file
Add the Mutt macros necessary to make the system work. Override the reply commands, wrapping them to pipe the message to Ottolangy.
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc14
1 files changed, 14 insertions, 0 deletions
diff --git a/muttrc b/muttrc
new file mode 100644
index 0000000..d7ae9d9
--- /dev/null
+++ b/muttrc
@@ -0,0 +1,14 @@
+# TODO: description
+# TODO: license unlicense
+
+macro index,pager r "<pipe-message>ottolangy<enter>\
+<enter-command> source $HOME/.local/share/ottolangy/attribution.muttrc<enter>\
+<reply>"
+
+macro index,pager g "<pipe-message>ottolangy<enter>\
+<enter-command> source $HOME/.local/share/ottolangy/attribution.muttrc<enter>\
+<group-reply>"
+
+macro index,pager L "<pipe-message>ottolangy<enter>\
+<enter-command> source $HOME/.local/share/ottolangy/attribution.muttrc<enter>\
+<list-reply>"