From fea6955b8f1b1a43a72f14e1e78c556103ebb564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sat, 20 Apr 2024 12:44:23 +0200 Subject: [PATCH] AERC updates --- .config/aerc/aerc.conf | 12 ++++++------ .config/aerc/binds.conf | 10 +++++----- .profile | 1 + 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index 22ab43e..46f402e 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -1,6 +1,3 @@ -# -# aerc main configuration - [general] # # Used as a default path for save operations if no other path is specified. @@ -568,7 +565,7 @@ pager=nvim -u $XDG_CONFIG_HOME/nvim/aerc.lua # ignored. # # This parameter can also be set per account in accounts.conf. -#address-book-cmd= +address-book-cmd='notmuch address "%s"' # Specifies the command to be used to select attachments. Any occurrence of # '%s' in the file-picker-cmd will be replaced with the argument @@ -622,7 +619,9 @@ pager=nvim -u $XDG_CONFIG_HOME/nvim/aerc.lua # # Example (obviously, this requires that you write your main text/plain body # using the markdown syntax): -text/html=pandoc -f markdown -t html --standalone +# text/html=pandoc -f markdown -t html --standalone +# text/html=lynx -dump -force_html -stdin +text/html=w3m -dump -o display_link_number=1 -T text/html [filters] # @@ -662,7 +661,8 @@ text/plain=cat text/calendar=gnome-calendar message/delivery-status=cat message/rfc822=cat -text/html=pandoc -f html -t plain +# text/html=lynx -dump -force_html -stdin +text/html=w3m -dump -o display_link_number=1 -T text/html #text/html=html | colorize text/*=bat -fP --file-name="$AERC_FILENAME" application/x-sh=bat -fP -l sh diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf index e7a6ec5..6db5938 100644 --- a/.config/aerc/binds.conf +++ b/.config/aerc/binds.conf @@ -35,8 +35,7 @@ K = :prev-folder v = :mark -t # = :mark -t:next V = :mark -v - = :read - = :unread + = :read -t T = :toggle-threads # zc = :fold @@ -51,6 +50,7 @@ d = :prompt 'Really delete this message?' 'delete-message' D = :delete a = :archive flat A = :unmark -a:mark -T:archive flat +f = :flag -t c = :compose m = :compose @@ -65,8 +65,8 @@ $ = :term ! = :term | = :pipe -/ = :search -\ = :filter +/ = :search -a +\ = :filter -a n = :next-result N = :prev-result = :clear @@ -96,7 +96,7 @@ A = :archive flat = :open-link -f = :forward +f = :flag -t rr = :reply -a rq = :reply -aq Rr = :reply diff --git a/.profile b/.profile index 57b121f..44b0075 100644 --- a/.profile +++ b/.profile @@ -17,3 +17,4 @@ export ZDOTDIR="$XDG_CONFIG_HOME"/zsh export XDG_CURRENT_DESKTOP=GNOME export OPENCV_LOG_LEVEL=ERROR export PATH="$HOME/.local/bin:$PATH" +export COLORTERM=truecolor