diff --git a/.config/aerc/accounts.conf b/.config/aerc/accounts.conf new file mode 100644 index 0000000..4ac7f50 --- /dev/null +++ b/.config/aerc/accounts.conf @@ -0,0 +1,7 @@ +[jtbx] +source = imaps://jtbx:yourpassword123@disroot.org:993 +outgoing = smtps://jtbx:yourpassword123@disroot.org:465 +default = INBOX +from = "Jeremy Baxter" +cache-headers = true +copy-to = Sent diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf new file mode 100644 index 0000000..1039215 --- /dev/null +++ b/.config/aerc/aerc.conf @@ -0,0 +1,39 @@ +# +# aerc main configuration +# see aerc-config(5) for documentation + +[general] +# Set the $TERM environment variable used for the embedded terminal. +term = foot + +[compose] +# Specifies the command to run the editor with. It will be shown in an embedded +# terminal, though it may also launch a graphical window if the environment +# supports it. Defaults to $EDITOR, or vi. +editor = emacsclient -c + +# Edit headers into the text editor instead than separate fields. +edit-headers = true + +[filters] +text/plain=colorize +text/calendar=calendar +message/delivery-status=colorize +message/rfc822=colorize + +# This special filter is only used to post-process email headers when +# [viewer].show-headers=true +# By default, headers are piped directly into the pager. +.headers=colorize + +[templates] +# The directories where the templates are stored. It takes a colon-separated +# list of directories. If this is unset or if a template cannot be found, the +# following paths will be used as a fallback in that order: +template-dirs=~/.config/aerc/templates + +# The default template to be used for new messages. +new-message=new_message + +# The default template to be used for quoted replies. +quoted-reply=quoted_reply diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf new file mode 100644 index 0000000..1b0c42c --- /dev/null +++ b/.config/aerc/binds.conf @@ -0,0 +1,162 @@ +# Binds are of the form = +# To use '=' in a key sequence, substitute it with "Eq": "" +# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit + = :prev-tab + = :prev-tab + = :next-tab + = :next-tab + = :term +? = :help keys + = :prompt 'Quit?' quit + = :prompt 'Quit?' quit + +[messages] +q = :prompt 'Quit?' quit + +j = :next + = :next + = :next 50% + = :next 100% + = :next 100% + +k = :prev + = :prev + = :prev 50% + = :prev 100% + = :prev 100% +g = :select 0 +G = :select -1 + +J = :next-folder + = :next-folder +K = :prev-folder + = :prev-folder +H = :collapse-folder + = :collapse-folder +L = :expand-folder + = :expand-folder + +v = :mark -t + = :mark -t:next +V = :mark -v + +T = :toggle-threads +zc = :fold +zo = :unfold + + = :view +d = :prompt 'Really delete this message?' 'delete-message' +D = :delete +a = :archive flat +A = :unmark -a:mark -T:archive flat + +C = :compose +m = :compose + +rr = :reply -a +rq = :reply -aq +Rr = :reply +Rq = :reply -q + +c = :cf +$ = :term +! = :term +| = :pipe + +/ = :search +\ = :filter +n = :next-result +N = :prev-result + = :clear + +s = :split +S = :vsplit + +[messages:folder=Drafts] + = :recall + +[view] +/ = :toggle-key-passthrough/ +q = :close +O = :open +o = :open +S = :save +| = :pipe +D = :delete +A = :archive flat + + = :open-link + +f = :forward +rr = :reply -a +rq = :reply -aq +Rr = :reply +Rq = :reply -q + +H = :toggle-headers + = :prev-part + = :prev-part + = :next-part + = :next-part +J = :next + = :next +K = :prev + = :prev + +[view::passthrough] +$noinherit = true +$ex = + = :toggle-key-passthrough + +[compose] +# Keybindings used when the embedded terminal is not selected in the compose +# view +$noinherit = true +$ex = + = :prev-field + = :prev-field + = :next-field + = :next-field + = :switch-account -p + = :switch-account -p + = :switch-account -n + = :switch-account -n + = :next-field + = :prev-field + = :prev-tab + = :prev-tab + = :next-tab + = :next-tab + +[compose::editor] +# Keybindings used when the embedded terminal is selected in the compose view +$noinherit = true +$ex = + = :prev-field + = :prev-field + = :next-field + = :next-field + = :prev-tab + = :prev-tab + = :next-tab + = :next-tab + +[compose::review] +# Keybindings used when reviewing a message to be sent +y = :send +n = :abort +v = :preview +p = :postpone +q = :choose -o d discard abort -o p postpone postpone +e = :edit +a = :attach +d = :detach + +[terminal] +$noinherit = true +$ex = + + = :prev-tab + = :next-tab + = :prev-tab + = :next-tab diff --git a/.config/aerc/templates/new_message b/.config/aerc/templates/new_message new file mode 100644 index 0000000..27f7224 --- /dev/null +++ b/.config/aerc/templates/new_message @@ -0,0 +1,4 @@ +X-Mailer: aerc {{version}} + + + ~Jeremy diff --git a/.config/aerc/templates/quoted_reply b/.config/aerc/templates/quoted_reply new file mode 100644 index 0000000..301b813 --- /dev/null +++ b/.config/aerc/templates/quoted_reply @@ -0,0 +1,7 @@ +X-Mailer: aerc {{version}} + +On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote: +{{trimSignature .OriginalText | quote}} + + + ~Jeremy