summaryrefslogtreecommitdiff
path: root/tw/home/files/aerc
diff options
context:
space:
mode:
authorTimo Wilken2023-06-03 13:46:28 +0200
committerTimo Wilken2023-06-03 13:46:28 +0200
commit484f1b317d20de6e488f46338f639a94f75906e5 (patch)
treecc2ebaf1b870cb64bd3c23082b6cc9753b36c80e /tw/home/files/aerc
parent75c6072cce6b53db9c3b9cb7adf053cefec0bcae (diff)
Add aerc keybinds and archive folders
Diffstat (limited to 'tw/home/files/aerc')
-rw-r--r--tw/home/files/aerc/accounts.conf22
-rw-r--r--tw/home/files/aerc/binds.conf13
2 files changed, 33 insertions, 2 deletions
diff --git a/tw/home/files/aerc/accounts.conf b/tw/home/files/aerc/accounts.conf
index 42337401..b31bbed7 100644
--- a/tw/home/files/aerc/accounts.conf
+++ b/tw/home/files/aerc/accounts.conf
@@ -1,12 +1,17 @@
-[Mythic Beasts]
+# Note: when adding/removing/editing an account name here, edit
+# [messages:account=] and [messages:folder=] sections in binds.conf to match!
+
+[Mythic]
source = imaps://timo%40twilken.net@oncilla.mythic-beasts.com
outgoing = smtps+plain://timo%40twilken.net@smtp-auth.mythic-beasts.com
source-cred-cmd = pass www/mythic-beasts/email/timo | head -1
outgoing-cred-cmd = pass www/mythic-beasts/email/timo | head -1
default = INBOX
from = Timo Wilken <timo@twilken.net>
+archive = Archive
copy-to = Sent
postpone = Drafts
+folders-sort = INBOX,Archive,Sent,Drafts
cache-headers = true
pgp-auto-sign = true
pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
@@ -19,8 +24,10 @@ source-cred-cmd = pass www/mythic-beasts/timo@wilkenfamily.de | head -1
outgoing-cred-cmd = pass www/mythic-beasts/timo@wilkenfamily.de | head -1
default = INBOX
from = Timo Wilken <timo@wilkenfamily.de>
+archive = Archive
copy-to = Sent
postpone = Drafts
+folders-sort = INBOX,Archive,Sent,Drafts
cache-headers = true
pgp-auto-sign = true
pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
@@ -43,8 +50,11 @@ outgoing-cred-cmd = pass cern/exol/refresh-token
default = INBOX
from = Timo Wilken <timo.wilken@cern.ch>
aliases = twilken@cern.ch
+archive = Archive
copy-to = Sent Items
postpone = Drafts
+folders-sort = INBOX,Archive,Sent Items,Drafts
+folders-exclude = Calendar,~Calendar/.*,Contacts,Conversation History,Journal,Notes,Tasks
cache-headers = true
pgp-auto-sign = true
pgp-key-id = C2249BBE5E8761C943A0CFA1B7B3914BF63ACD7C
@@ -58,9 +68,13 @@ source-cred-cmd = pass www/google/app-passwords/mutt | head -1
outgoing-cred-cmd = pass www/google/app-passwords/mutt | head -1
default = INBOX
from = Timo Wilken <timo.21.wilken@gmail.com>
+archive = [Gmail]/All Mail
copy-to = [Gmail]/Sent Mail
postpone = [Gmail]/Drafts
+folders-sort = INBOX,[Gmail]/All Mail,[Gmail]/Sent Mail,[Gmail]/Drafts
+folders-exclude = [Gmail],[Gmail]/Chats,[Gmail]/Important
cache-headers = true
+trusted-authres = mx.google.com
pgp-auto-sign = true
pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
pgp-opportunistic-encrypt = true
@@ -73,8 +87,11 @@ source-cred-cmd = pass cambridge/exol-refresh-token
outgoing-cred-cmd = pass cambridge/exol-refresh-token
default = INBOX
from = Timo Wilken <tw466@cantab.ac.uk>
+archive = Archive
copy-to = Sent Items
postpone = Drafts
+folders-sort = INBOX,Archive,Sent Items,Drafts
+folders-exclude = Calendar,~Calendar/.*,Contacts,Conversation History,Journal,Notes,Tasks
cache-headers = true
pgp-auto-sign = true
pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
@@ -88,8 +105,11 @@ source-cred-cmd = pass www/microsoft/exol-refresh-token
outgoing-cred-cmd = pass www/microsoft/exol-refresh-token
default = INBOX
from = Timo Wilken <timo_wilken@live.co.uk>
+archive = Archive
copy-to = Sent
postpone = Drafts
+folders-sort = INBOX,Archive,Sent,Drafts
+folders-exclude = Notes
cache-headers = true
pgp-auto-sign = true
pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
diff --git a/tw/home/files/aerc/binds.conf b/tw/home/files/aerc/binds.conf
index 269155da..7d6de0d2 100644
--- a/tw/home/files/aerc/binds.conf
+++ b/tw/home/files/aerc/binds.conf
@@ -29,6 +29,7 @@ K = :prev-folder<Enter>
H = :collapse-folder<Enter>
L = :expand-folder<Enter>
+"*" = :mark -a<Enter>
v = :mark -t<Enter>
V = :mark -T<Enter>
F = :flag -tx Flagged<Enter>
@@ -41,8 +42,10 @@ T = :toggle-threads<Enter>
D = :delete<Enter>
A = :archive flat<Enter>
p = :split 25<Enter>
+e = :envelope<Enter>
m = :compose<Enter>
+M = :mkdir<space>
f = :forward -F<Enter>
a = :reply -aq<Enter>
@@ -51,6 +54,8 @@ r = :reply -q<Enter>
C = :copy<space>
S = :save<space>
s = :move<space>
+E = :export-mbox<space>
+I = :import-mbox<space>
c = :cf<space>
$ = :check-mail<Enter>
@@ -66,12 +71,17 @@ N = :prev-result<Enter>
[messages:folder=Drafts]
<Enter> = :recall<Enter>
-[messages:account=Mythic Beasts]
+[messages:account=Mythic]
d = :move Rubbish<Enter>
# We can't use both :account= and :folder= at the same time, unfortunately.
[messages:folder=Rubbish]
d = :delete<Enter>
+[messages:account=Wilken]
+d = :move Rubbish<Enter>
+[messages:folder=Rubbish]
+d = :delete<Enter>
+
[messages:account=CERN]
d = :move Deleted Items<Enter>
[messages:folder=Deleted Items]
@@ -151,6 +161,7 @@ q = :choose -o d discard abort -o p postpone postpone<Enter>
e = :edit<Enter>
a = :attach<space>
d = :detach<space>
+v = :preview<Enter>
[terminal]
$noinherit = true