From 484f1b317d20de6e488f46338f639a94f75906e5 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sat, 3 Jun 2023 13:46:28 +0200 Subject: Add aerc keybinds and archive folders --- tw/home/files/aerc/accounts.conf | 22 +++++++++++++++++++++- tw/home/files/aerc/binds.conf | 13 ++++++++++++- 2 files changed, 33 insertions(+), 2 deletions(-) (limited to 'tw/home') 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 +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 +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 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 +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 +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 +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 H = :collapse-folder L = :expand-folder +"*" = :mark -a v = :mark -t V = :mark -T F = :flag -tx Flagged @@ -41,8 +42,10 @@ T = :toggle-threads D = :delete A = :archive flat p = :split 25 +e = :envelope m = :compose +M = :mkdir f = :forward -F a = :reply -aq @@ -51,6 +54,8 @@ r = :reply -q C = :copy S = :save s = :move +E = :export-mbox +I = :import-mbox c = :cf $ = :check-mail @@ -66,12 +71,17 @@ N = :prev-result [messages:folder=Drafts] = :recall -[messages:account=Mythic Beasts] +[messages:account=Mythic] d = :move Rubbish # We can't use both :account= and :folder= at the same time, unfortunately. [messages:folder=Rubbish] d = :delete +[messages:account=Wilken] +d = :move Rubbish +[messages:folder=Rubbish] +d = :delete + [messages:account=CERN] d = :move Deleted Items [messages:folder=Deleted Items] @@ -151,6 +161,7 @@ q = :choose -o d discard abort -o p postpone postpone e = :edit a = :attach d = :detach +v = :preview [terminal] $noinherit = true -- cgit v1.2.3