summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2016-02-16 21:27:15 +0100
committerVictor Toso <victortoso@redhat.com>2016-02-16 21:27:15 +0100
commit9038bcfc117a1b0857e4b2f4fbea4946c17b86a7 (patch)
treedc84297deb825766b88722436a25c91be1e8d1fc
parent3685c625f044792372940e8bd232f50cb63bcb16 (diff)
mutt: fix html mails; include sent folders
-rw-r--r--.gitignore1
-rw-r--r--mutt/mailcap3
-rw-r--r--mutt/muttrc10
3 files changed, 12 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f3ec3b0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+mutt/tmp
diff --git a/mutt/mailcap b/mutt/mailcap
new file mode 100644
index 0000000..517a4cc
--- /dev/null
+++ b/mutt/mailcap
@@ -0,0 +1,3 @@
+#text/html; links %s; nametemplate=%s.html
+#text/html; links -dump %s; nametemplate=%s.html; copiousoutput
+text/html; w3m -I %{charset} -T text/html; copiousoutput;
diff --git a/mutt/muttrc b/mutt/muttrc
index 6132c76..b732596 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -4,7 +4,7 @@ set folder = ~/.mail # mailbox location
#set header_cache = ~/.mutt/cache/headers # where to store headers
#set message_cachedir = ~/.mutt/cache/bodies # where to store bodies
#set certificate_file = ~/.mutt/certificates # where to store certs
-#set mailcap_path = ~/.mutt/mailcap # entries for filetypes
+set mailcap_path = ~/.mutt/mailcap # entries for filetypes
set tmpdir = ~/.mutt/tmp # where to keep temp files
#set signature = ~/.mutt/sig # my signature file
@@ -22,6 +22,9 @@ unset mark_old # read/new is good enough for me
set pipe_decode # strip headers and eval mimes when piping
set thorough_search # strip headers and eval mimes before searching
+auto_view text/html
+unignore Message-Id
+
# Sidebar Patch --------------------------------------
set sidebar_delim = '│'
set sidebar_visible = yes
@@ -48,7 +51,7 @@ set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)
set spoolfile = "+victortoso/inbox"
-set editor="vim -c 'set spell spelllang=en,pt-BR'"
+set editor="vim -c 'set spell spelllang=en'"
folder-hook victortoso/* source ~/.mutt/accounts/victortoso
folder-hook lists/* source ~/.mutt/accounts/lists
@@ -64,6 +67,7 @@ mailboxes \
"+victortoso/fundation-list" \
"+victortoso/gnome-soc" \
"+victortoso/google-soc" \
+"+victortoso/[Gmail].Sent Mail" \
"+(redhat)------------------------" \
"+redhat/inbox" \
"+redhat/brno-list" \
@@ -80,6 +84,7 @@ mailboxes \
"+redhat/spice-devel" \
"+(lists)-------------------------" \
"+lists/inbox" \
+"+lists/[Gmail].Sent Mail" \
"+lists/spice-devel" \
"+lists/virt-tools-list" \
"+lists/dvb-daemon" \
@@ -98,6 +103,7 @@ mailboxes \
"+bugzilla/gnome-boxes" \
"+(spam)--------------------------" \
"+spam/inbox" \
+"+spam/[Gmail].Sent Mail" \
"+spam/aliexpress" \
"+spam/alza" \
"+spam/ebay"