From 03bc6dbeed2b2a4e2f36de490837c1d38f3ff5c8 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 29 Apr 2024 14:09:59 +0200 Subject: more small tweaks --- .config/neomutt/neomuttrc | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to '.config/neomutt') diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc index c6f3633..9d675c2 100644 --- a/.config/neomutt/neomuttrc +++ b/.config/neomutt/neomuttrc @@ -18,8 +18,10 @@ set smtp_pass = "$imap_pass" set smtp_url = "smtp://$imap_user@mail.pipeframe.xyz:587" set ssl_force_tls = yes -# mail check timeout +# automatically refresh incoming mail set mail_check = 60 +unset wait_key +push " systemctl --user start mbsync & " # mailboxes mailboxes +Inbox +Drafts +Junk +Sent +Trash +Archive @@ -28,7 +30,7 @@ mailboxes +Inbox +Drafts +Junk +Sent +Trash +Archive set mailcap_path = "$XDG_CONFIG_HOME/mailcap" # keybinds (more vim-like than default) -macro index,pager a "=Archive" "Archive Message" # archive +macro index,pager a "+Archive" "Archive Message" # archive bind index,pager n search-next # next search match bind index,pager N search-opposite # previous search match bind generic,index g noop # clear immediate action of `g` (required for `gg`) @@ -50,30 +52,30 @@ set auto_edit = yes set mime_type_query_command = "xdg-mime query filetype" unset prompt_after +# format strings +set status_format = "%D %> %P " +set folder_format = "%i" +set browser_abbreviate_mailboxes = yes + # external programs set editor = "$EDITOR" # set pager = "less" set sendmail = "/usr/bin/msmtp" # colors +color indicator reverse default default # selection +color index none white default # all other mail +color index bold default default "~N|~O" # new/unopened mail +uncolor status +uncolor tree +uncolor search color hdrdefault blue default color quoted blue black color signature blue black -color attachment red black +color attachment brightblack default color prompt brightmagenta black color message brightred default color error brightred black -color indicator black red -color status white default -color tree white black -# color normal white black color markers red black -color search white black color tilde brightmagenta black -color index blue black "~F" -color index red black "~N|~O" - -# switch folders -macro index i " =Inbox" -macro index h " =Archive" -- cgit v1.2.3