From 8c195812c79fac52967ad4925e98767c4c1cc2c3 Mon Sep 17 00:00:00 2001 From: Daniele Fucini Date: Sat, 3 Jun 2023 23:56:42 +0200 Subject: [PATCH] Update mutt config --- .config/mutt/macros | 2 ++ .config/mutt/muttrc | 10 +++++----- .vimrc | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.config/mutt/macros b/.config/mutt/macros index 3f6ec6b..c78da98 100644 --- a/.config/mutt/macros +++ b/.config/mutt/macros @@ -1 +1,3 @@ macro pager \cb 'urlview' 'Follow links with urlview' +macro index,pager a "abook --add-email-quiet" "Add this sender to Abook" +macro attach V "iconv -c --to-code=UTF8 > ~/.cache/mutt/mail.htmlvivaldi-stable ~/.cache/mutt/mail.html" diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index 62030c7..ff840c2 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -1,7 +1,8 @@ source "~/.config/mutt/gpg.rc" source "~/.config/mutt/muttrc-sidebar" -source "~/.config/mutt/colors -source "~/.config/mutt/accounts/main_gmail +source "~/.config/mutt/colors" +source "~/.config/mutt/accounts/main_gmail" +source "~/.config/mutt/macros" # IMAP settings set folder = "imaps://imap.gmail.com/" @@ -22,9 +23,8 @@ unset record set imap_check_subscribed # Abook -set query_command = "abook --mutt-query '%s'" -macro index,pager a "abook --add-email-quiet" "Add this sender to Abook" -bind editor complete-query +set query_command = "abook --mutt-query '%s'" +bind editor complete-query # Other settings set header_cache = "~/.cache/mutt" diff --git a/.vimrc b/.vimrc index 5770e0c..cc24a1d 100644 --- a/.vimrc +++ b/.vimrc @@ -34,7 +34,7 @@ call plug#end() let g:everforest_background='hard' let g:everforest_better_performance=1 -let g:ale_python_flake8_options='--max-line-length=120' +let g:ale_python_flake8_options='--max-line-length=150' let g:rainbow_active=1 " }}}