From f268916ae0e65c5bca2958f27bef55bfeebe514c Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 7 Jan 2025 17:37:36 +0100 Subject: update aerc config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .config/aerc/binds.conf | 201 ++++++++++++++++++++++++++++++------------------ 1 file changed, 128 insertions(+), 73 deletions(-) (limited to '.config/aerc/binds.conf') diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf index 11009c2..9e0a41f 100644 --- a/.config/aerc/binds.conf +++ b/.config/aerc/binds.conf @@ -1,106 +1,161 @@ -# 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 - = :next-tab + = :prev-tab + = :next-tab + = :term +? = :help keys + [messages] -q = :quit - -j = :next - = :next - = :next 100% -k = :prev - = :prev - = :prev 100% -gg = :select 0 -G = :select -1 - - = :next-folder - = :prev-folder - -v = :mark -t -V = :mark -v - - = :view -dd = :read :mv Trash -a = :read :archive year - = :read - = :unread -U = :filter -u -fc = :filter '' - -rr = :reply -aT reply -rq = :reply -aq - -c = :cf +q = :quit + +j = :next + = :next + = :next 100% +k = :prev + = :prev + = :prev 100% +gg = :select 0 +G = :select -1 + + = :prev-folder + = :next-folder + +V = :mark -v +v = :mark -t + + = :view + = :vsplit + = :read -t +dd = :read :mv Trash +a = :read :archive year + +F = :filter +fa = :filter -a # filter entire text +fb = :filter -b # filter body +fc = :filter -c # filter cc +fd = :filter -d # filter date range +fr = :filter -r # filter read +fs = :filter -H Subject: # filter subject +ft = :filter -t # filter recipient +fu = :filter -u # filter unread +ff = :filter -f "{{index (.From | emails) 0}}" # filter from current sender +fl = :filter -H List-ID:"{{.Header \"List-ID\"}}" # filter from current list + = :clear + +sA = :sort -r arrival # sort arrival (reverse) +sa = :sort arrival # sort arrival +sC = :sort -r cc # sort cc (reversed) +sc = :sort cc # sort cc (reversed) +sF = :sort -r from # sort from (reversed) +sf = :sort from # sort from + +rr = :reply -aT reply +rq = :reply -aq + +ct = :compose -T new -H 'To: {{index (.To | emails) 0}}' +cf = :compose -T new -H 'To: {{index (.From | emails) 0}}' + $ = :term ! = :term | = :pipe / = :search \ = :filter -n = :next-result -N = :prev-result -T = :toggle-threads +n = :next-result +N = :prev-result + +tt = :toggle-threads + +gi = :cf INBOX +C = :check-mail +cm = :check-mail -gi = :cf INBOX -# = :pipe -mb aerc-copy-link - = :open-link -C = :check-mail + = :vsplit + + = :vsplit - + = :vsplit + +zC = :collapse-folder +zc = :collapse # collapse thread +z0 = :expand-folder +zo = :open-thread [messages:account=gnzler] -gl = :cf lists -gh = :cf lists/github -gs = :cf lists/srht -ga = :cf Archive/2022 -gw = :cf work +ga = :cf Archive/2024 +gs = :clear:filter -a @lists.sr.ht +gh = :clear:filter -H 'X-Github-Recipient: robertgzr' +gp = :clear:filter -a 'alpinelinux.org' +gt = :clear:filter -H 'X-Bugzilla-URL: https://bugs.gentoo.org' + +[messages:folder=Drafts] + = :recall + [view] - = :prev-part - = :next-part - = :next - = :prev + = :prev-part + = :next-part + + = :prev-tab + = :next-tab -q = :close + = :prev + = :next + +q = :close | = :pipe -D = :prompt 'Really delete?' mv Trash +D = :prompt 'Really delete?' mv Trash S = :save -A = :prompt 'Really archive?' archive year +A = :prompt 'Really archive?' archive year +O = :open porta open-uri + +f = :forward +rr = :reply -a +rq = :reply -aq +rQ = :reply -aQ +Rr = :reply +Rq = :reply -q -f = :forward -rr = :reply -a -rq = :reply -aq -rQ = :reply -aQ -Rr = :reply -Rq = :reply -q +H = :toggle-headers + = :open-link + +ym = :pipe -sd k2 fmt -body | wl-copy -nf +yf = :pipe -sd k2 fmt -headers=from | awk '{print $2}' | wl-copy -nf +yt = :pipe -sd k2 fmt -headers=to | awk '{print $2}' | wl-copy -nf + +[view::passthrough] +$noinherit = true +$ex = + = :toggle-key-passthrough -H = :toggle-headers -# = :pipe -mb aerc-copy-link - = :open-link [compose] $ex = - = :prev-field - = :next-field +$noinherit = true + = :prev-field + = :next-field + = :prev-tab + = :next-tab + = :next-field + = :prev-field [compose::editor] $noinherit = true $ex = - = :prev-field - = :next-field + = :prev-field + = :next-field + = :prev-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 +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 -- cgit 1.4.1