From 70cc8731553ff1c9e944b95f37e46659796ae9f2 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Tue, 22 Nov 2016 09:50:54 +1300 Subject: [PATCH] Update mail config --- SOFTWARE.md | 1 + mail/.config/mutt/colours | 2 +- mail/.config/mutt/mailcap | 4 +++- mail/.config/mutt/muttrc | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/SOFTWARE.md b/SOFTWARE.md index 1c99841..00e7ced 100644 --- a/SOFTWARE.md +++ b/SOFTWARE.md @@ -57,4 +57,5 @@ * (neo)mutt * notmuch * isync (aka mbsync) +* lynx * urlview diff --git a/mail/.config/mutt/colours b/mail/.config/mutt/colours index 25d270d..e2df2f5 100644 --- a/mail/.config/mutt/colours +++ b/mail/.config/mutt/colours @@ -13,7 +13,7 @@ color tree cyan default # arrow in threads color index magenta black ~N # new messages color index yellow black ~O # old messages color index red black ~D # to-be-deleted -color index yellow black ~P # self-mail +color index cyan black ~P # self-mail # index color index_flags red black '~N' # new messages diff --git a/mail/.config/mutt/mailcap b/mail/.config/mutt/mailcap index 9758cc9..5581308 100644 --- a/mail/.config/mutt/mailcap +++ b/mail/.config/mutt/mailcap @@ -1,4 +1,6 @@ # pdf documents -application/pdf; okular %s; +application/pdf; okular %s; copiousoutput # html text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput +# images +image/*; /usr/bin/xdg-open %s; copiousoutput diff --git a/mail/.config/mutt/muttrc b/mail/.config/mutt/muttrc index bca8d0b..bcc113a 100644 --- a/mail/.config/mutt/muttrc +++ b/mail/.config/mutt/muttrc @@ -22,10 +22,11 @@ set spoolfile = "+gmail/INBOX" # default mailbox set ssl_starttls # use STARTTLS if not set set ssl_force_tls # force TLS negotation -# composing configuration +# composing/sending configuration set editor = "nvim +/^$ +nohlsearch" # place cursor after headers + turn off search highlighting set edit_headers # enable header editing when composing set mime_forward = ask-no # ask if fwd msg as attachments +set send_charset = "utf-8" # charset to use when sending # grab rest of the config source ~/.config/mutt/colours