From e1ab1e533b8ea7e8181bee2bb63e60ee3d1ad857 Mon Sep 17 00:00:00 2001 From: coderkun Date: Sat, 24 Aug 2019 22:46:42 +0200 Subject: [PATCH] Add aerc configuration --- aerc/aerc.conf | 19 +++++++++++ aerc/binds.conf | 87 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 aerc/aerc.conf create mode 100644 aerc/binds.conf diff --git a/aerc/aerc.conf b/aerc/aerc.conf new file mode 100644 index 0000000..1dc2505 --- /dev/null +++ b/aerc/aerc.conf @@ -0,0 +1,19 @@ +[ui] +index-format=%Z | %D | %-17.17n %s +timestamp-format=02.01.06 15:04 +sidebar-width=20 +empty-message=(no messages) +empty-dirlist=(no folders) + +[viewer] +pager=less -R +alternatives=text/plain,text/html +show-headers=false + +[compose] +editor=nvim + +[filters] +subject,~^\[PATCH=awk -f /usr/share/aerc/filters/hldiff +text/*=awk -f /usr/share/aerc/filters/plaintext +text/html=/usr/share/aerc/filters/html diff --git a/aerc/binds.conf b/aerc/binds.conf new file mode 100644 index 0000000..9049930 --- /dev/null +++ b/aerc/binds.conf @@ -0,0 +1,87 @@ + = :prev-tab + = :next-tab + = :term + +[messages] +q = :quit + +j = :next + = :next + = :next 50% + = :next 100% + = :next -s 100% + +k = :prev + = :prev + = :prev 50% + = :prev 100% + = :prev -s 100% +g = :select 0 +G = :select -1 + +J = :next-folder +K = :prev-folder + + = :view +d = :confirm 'Really delete this message?' ':delete-message' +D = :delete +A = :archive flat + +C = :compose + +rr = :reply -a +rq = :reply -aq +Rr = :reply +Rq = :reply -q + +c = :cf +$ = :term +! = :term +| = :pipe + +[view] +q = :close +| = :pipe +D = :delete +S = :save +A = :archive flat + +f = :forward +rr = :reply +rq = :reply -q +Rr = :reply -a +Rq = :reply -aq + +H = :toggle-headers + = :prev-part + = :next-part +J = :next +K = :prev + +[compose] +$ex = + = :prev-field + = :next-field + = :next-field + +[compose::editor] +$noinherit = true +$ex = + = :prev-field + = :next-field + = :prev-tab + = :next-tab + +[compose::review] +y = :send +n = :abort +q = :abort +e = :edit +a = :attach + +[terminal] +$noinherit = true +$ex = + + = :prev-tab + = :next-tab