From 2b1189efa793ddba0b09ba9b4169878d3f91a0ba Mon Sep 17 00:00:00 2001 From: awy Date: Wed, 5 Nov 2025 23:43:14 +0300 Subject: aerc --- .config/aerc/aerc.conf | 39 +++++++++ .config/aerc/binds.conf | 187 ++++++++++++++++++++++++++++++++++++++++++++ .config/aerc/gmail-map.conf | 1 + .config/shell/profile | 1 + 4 files changed, 228 insertions(+) create mode 100644 .config/aerc/aerc.conf create mode 100644 .config/aerc/binds.conf create mode 100644 .config/aerc/gmail-map.conf (limited to '.config') diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf new file mode 100644 index 0000000..d738f08 --- /dev/null +++ b/.config/aerc/aerc.conf @@ -0,0 +1,39 @@ +[general] + +[ui] +styleset-name=nord +fuzzy-complete=true +icon-new= +icon-attachment= +icon-old= +icon-replied= +icon-flagged= +icon-deleted= +# icon-new=✨ +# icon-attachment=📎 +# icon-old=🕰️ +# icon-replied=📝 +# icon-flagged=🚩 +# icon-deleted=🗑️ + +[statusline] + +[viewer] +alternatives=text/html,text/plain + +[compose] + +[multipart-converters] + +[filters] +text/plain=colorize +text/calendar=calendar +message/delivery-status=colorize +message/rfc822=colorize +text/html=! html +.headers=colorize +[openers] + +[hooks] + +[templates] diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf new file mode 100644 index 0000000..5151c35 --- /dev/null +++ b/.config/aerc/binds.conf @@ -0,0 +1,187 @@ +# 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 + = :prev-tab + = :next-tab + = :next-tab +\[t = :prev-tab +\]t = :next-tab + = :term +? = :help keys + = :prompt 'Quit?' quit + = :prompt 'Quit?' quit + = :suspend + +[messages] +q = :quit + +j = :next + = :next + = :next 50% + = :next 100% + = :next 100% + +k = :prev + = :prev + = :prev 50% + = :prev 100% + = :prev 100% +gg = :select 0 +G = :select -1 + +J = :next-folder + = :next-folder +K = :prev-folder + = :prev-folder +H = :collapse-folder + = :collapse-folder +L = :expand-folder + = :expand-folder + +v = :mark -t + = :mark -t:next +V = :mark -v + +T = :toggle-threads +zc = :fold +zo = :unfold +za = :fold -t +zM = :fold -a +zR = :unfold -a + = :fold -t + +zz = :align center +zt = :align top +zb = :align bottom + + = :view +d = :choose -o y 'Really delete this message' delete-message +D = :delete +a = :archive flat +A = :unmark -a:mark -T:archive flat + +C = :compose +m = :compose + +b = :bounce + +rr = :reply -a +rq = :reply -aq +Rr = :reply +Rq = :reply -q + +c = :cf +$ = :term +! = :term +| = :pipe + +/ = :search +\ = :filter +n = :next-result +N = :prev-result + = :clear + +s = :split +S = :vsplit + +pl = :patch list +pa = :patch apply +pd = :patch drop +pb = :patch rebase +pt = :patch term +ps = :patch switch + +[messages:folder=Drafts] + = :recall + +[view] +/ = :toggle-key-passthrough/ +q = :close +O = :open +o = :open +S = :save +| = :pipe +D = :delete +A = :archive flat + + = :copy-link + = :open-link + +f = :forward +rr = :reply -a +rq = :reply -aq +Rr = :reply +Rq = :reply -q + +H = :toggle-headers + = :prev-part + = :prev-part + = :next-part + = :next-part +J = :next + = :next +K = :prev + = :prev + +[view::passthrough] +$noinherit = true +$ex = + = :toggle-key-passthrough + +[compose] +# Keybindings used when the embedded terminal is not selected in the compose +# view +$noinherit = true +$ex = +$complete = + = :prev-field + = :prev-field + = :next-field + = :next-field + = :switch-account -p + = :switch-account -p + = :switch-account -n + = :switch-account -n + = :next-field + = :prev-field + = :prev-tab + = :prev-tab + = :next-tab + = :next-tab + +[compose::editor] +# Keybindings used when the embedded terminal is selected in the compose view +$noinherit = true +$ex = + = :prev-field + = :prev-field + = :next-field + = :next-field + = :prev-tab + = :prev-tab + = :next-tab + = :next-tab + +[compose::review] +# Keybindings used when reviewing a message to be sent +# Inline comments are used as descriptions on the review screen +y = :send # Send +n = :abort # Abort (discard message, no confirmation) +s = :sign # Toggle signing +x = :encrypt # Toggle encryption to all recipients +v = :preview # Preview message +p = :postpone # Postpone +q = :choose -o d discard abort -o p postpone postpone # Abort or postpone +e = :edit # Edit (body and headers) +a = :attach # Add attachment +d = :detach # Remove attachment + +[terminal] +$noinherit = true +$ex = + + = :prev-tab + = :next-tab + = :prev-tab + = :next-tab diff --git a/.config/aerc/gmail-map.conf b/.config/aerc/gmail-map.conf new file mode 100644 index 0000000..cfb6b25 --- /dev/null +++ b/.config/aerc/gmail-map.conf @@ -0,0 +1 @@ +* = [Gmail]/* diff --git a/.config/shell/profile b/.config/shell/profile index 5ef0d77..ebe7991 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -57,6 +57,7 @@ export KUBECONFIG="$XDG_CONFIG_HOME/kube/config" export KUBECACHEDIR="$XDG_CACHE_HOME/kube" export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker" export PASSWORD_STORE_CLIP_TIME=5 +export W3M_DIR="$XDG_STATE_HOME/w3m" # Other program settings: export DICS="/usr/share/stardict/dic/" -- cgit v1.2.3