diff options
author | Ben Burwell <ben@benburwell.com> | 2019-12-15 15:52:05 -0500 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-12-15 15:52:05 -0500 |
commit | c7ebc1d48856f398b1040546ef06dce1d8f2282f (patch) | |
tree | d41e1a744a15d7bf38f490d9e8757e83c154b9b0 | |
parent | 284f6fd9695c42f9086d567d1d77b607c653e4a2 (diff) |
aerc: adopt
-rw-r--r-- | templates/.config/aerc/accounts.conf | 22 | ||||
-rw-r--r-- | templates/.config/aerc/aerc.conf | 87 | ||||
-rw-r--r-- | templates/.config/aerc/binds.conf | 101 |
3 files changed, 210 insertions, 0 deletions
diff --git a/templates/.config/aerc/accounts.conf b/templates/.config/aerc/accounts.conf new file mode 100644 index 0000000..b1242b1 --- /dev/null +++ b/templates/.config/aerc/accounts.conf @@ -0,0 +1,22 @@ +# aerc config +[benburwell.com] +source = maildir://~/Mail/Fastmail +outgoing = smtps+plain://benburwell%40fastmail.com@smtp.fastmail.com:465 +default = INBOX +from = Ben Burwell <ben@benburwell.com> +copy-to = Sent +outgoing-cred-cmd = pass mail/benburwell@fastmail.com +archive = Archive + +# [Notmuch] +# source = notmuch://~/Mail +# query-map = ~/.querymap + +# [IMAP] +# source = imaps://benburwell%40fastmail.com@imap.fastmail.com +# source-cred-cmd = pass mail/benburwell@fastmail.com +# outgoing = smtps+plain://benburwell%40fastmail.com@smtp.fastmail.com +# outgoing-cred-cmd = pass mail/benburwell@fastmail.com +# default = INBOX +# from = Ben Burwell <ben@benburwell.com> +# copy-to = Sent diff --git a/templates/.config/aerc/aerc.conf b/templates/.config/aerc/aerc.conf new file mode 100644 index 0000000..977c3d1 --- /dev/null +++ b/templates/.config/aerc/aerc.conf @@ -0,0 +1,87 @@ +# +# aerc main configuration + +[ui] +# +# Describes the format for each row in a mailbox view. This field is compatible +# with mutt's printf-like syntax. TODO: document properly +# +# Default: +index-format=%D %Z %-17.17n %s + +# +# See strftime(3) +# +# Default: %F %l:%M %p (ISO 8501 + 12 hour time) +timestamp-format=2006-01-02 03:04 PM + +# +# Width of the sidebar, including the border. +# +# Default: 20 +sidebar-width=20 + +# +# Message to display when viewing an empty folder. +# +# Default: (no messages) +empty-message=(no messages) + +new-message-bell=true + +dirlist-format=%n %>r + +threading-enabled=true + +completion-popovers=true + +[viewer] +# +# Specifies the pager to use when displaying emails. Note that some filters +# may add ANSI codes to add color to rendered emails, so you may want to use a +# pager which supports ANSI codes. +# +# Default: less -R +pager=less -R + +# +# If an email offers several versions (multipart), you can configure which +# mimetype to prefer. For example, this can be used to prefer plaintext over +# html emails. +# +# Default: text/plain,text/html +alternatives=text/plain,text/html + +header-layout: From|Date,To,Subject,Cc,Bcc + +#show-headers=true + +[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= + +header-layout: From,To,Subject,Cc,Bcc + +address-book-cmd=khard email --parsable '%s' + +[filters] +# +# Filters allow you to pipe an email body through a shell command to render +# certain emails differently, e.g. highlighting them with ANSI escape codes. +# +# The first filter which matches the email's mimetype will be used, so order +# them from most to least specific. +# +# You can also match on non-mimetypes, by prefixing with the header to match +# against (non-case-sensitive) and a comma, e.g. subject,text will match a +# subject which contains "text". Use header,~regex to match against a regex. +subject,~^\[PATCH=awk -f /usr/local/share/aerc/filters/hldiff +#text/html=pandoc -f html -t plain +text/html=/usr/local/share/aerc/filters/html +text/*=awk -f /usr/local/share/aerc/filters/plaintext + +[notmuch] +#query-map = ~/.querymap diff --git a/templates/.config/aerc/binds.conf b/templates/.config/aerc/binds.conf new file mode 100644 index 0000000..bcae355 --- /dev/null +++ b/templates/.config/aerc/binds.conf @@ -0,0 +1,101 @@ +# Binds are of the form <key sequence> = <command to run> +# To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>" +# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit +<C-p> = :prev-tab<Enter> +<C-n> = :next-tab<Enter> +<C-t> = :term<Enter> +# gT = :prev-tab<Enter> +# gt = :next-tab<Enter> + +[messages] +q = :quit<Enter> +j = :next<Enter> +<Down> = :next<Enter> +<C-d> = :next 50%<Enter> +<C-f> = :next 100%<Enter> +<PgDn> = :next -s 100%<Enter> +k = :prev<Enter> +<Up> = :prev<Enter> +<C-u> = :prev 50%<Enter> +<C-b> = :prev 100%<Enter> +<PgUp> = :prev -s 100%<Enter> +gg = :select 0<Enter> +gi = :cf INBOX<Enter> +ga = :cf Archive<Enter> +gs = :cf Spam<Enter> +G = :select -1<Enter> +J = :next-folder<Enter> +K = :prev-folder<Enter> +<Enter> = :view<Enter> +#d = :confirm 'Really delete this message?' ':delete-message<Enter>'<Enter> +d = :archive flat<Enter> +D = :delete<Enter> +A = :archive flat<Enter> +C = :compose<Enter> +rr = :reply -a<Enter> +rq = :reply -aq<Enter> +Rr = :reply<Enter> +Rq = :reply -q<Enter> +c = :cf<space> +$ = :term<space> +! = :term<space> +| = :pipe<space> +/ = :search<space> +#/ = :ct notmuch<Enter>:cf<space> +\ = :filter<space> +n = :next-result<Enter> +N = :prev-result<Enter> +vp = :mv PZP<Enter> +vs = :mv Spam<Enter> +vm = :mv Misc<Enter> +yy = :pipe pbcopy<Enter> + +[view] +q = :close<Enter> +| = :pipe<space> +D = :delete<Enter> +S = :save<space> +A = :archive flat<Enter> +f = :forward<Enter> +rr = :reply -a<Enter> +rq = :reply -aq<Enter> +Rr = :reply<Enter> +Rq = :reply -q<Enter> +H = :toggle-headers<Enter> +<C-k> = :prev-part<Enter> +<C-j> = :next-part<Enter> +J = :next<Enter> +K = :prev<Enter> +yy = :pipe pbcopy<Enter> + +[compose] +# Keybindings used when the embedded terminal is not selected in the compose +# view +$ex = <C-x> +<C-k> = :prev-field<Enter> +<C-j> = :next-field<Enter> +<tab> = :next-field<Enter> + +[compose::editor] +# Keybindings used when the embedded terminal is selected in the compose view +$noinherit = true +$ex = <C-x> +<C-k> = :prev-field<Enter> +<C-j> = :next-field<Enter> +<C-p> = :prev-tab<Enter> +<C-n> = :next-tab<Enter> + +[compose::review] +# Keybindings used when reviewing a message to be sent +y = :send<Enter> +n = :abort<Enter> +q = :abort<Enter> +e = :edit<Enter> +a = :attach<space> + +[terminal] +$noinherit = true +$ex = <C-x> + +<C-p> = :prev-tab<Enter> +<C-n> = :next-tab<Enter> |