summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mutt/mailcap3
-rw-r--r--muttrc9
2 files changed, 9 insertions, 3 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
index f189bbd..6917525 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -23,3 +23,6 @@ text/plain; cat; copiousoutput; edit=$VISUAL %s
# Unidentified files
application/octet-stream; ~/.mutt/view_attachment.sh %s "-"
+
+# Word docs - make sure you install antiword first
+application/msword; antiword %s ; copiousoutput
diff --git a/muttrc b/muttrc
index 331fa8e..f55dfc9 100644
--- a/muttrc
+++ b/muttrc
@@ -1,4 +1,4 @@
-# Paths ----------------------------------------------
+#Paths ----------------------------------------------
# Getting all this from article by Steve Losh
# at http://stevelosh.com/blog/2012/10/the-homely-mutt/#contacts
@@ -138,7 +138,7 @@ macro index O "<shell-escape>clear && mbsync -a<enter>" "run mbsync to
#macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox"
# Saner copy/move dialogs
-macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
+# never use this -> macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
# Sidebar Navigation ---------------------------------
@@ -177,6 +177,7 @@ bind attach <return> view-mailcap
macro pager \Cu "|urlview<enter>" "call urlview to open links"
# Compose View Options -------------------------------
+unset reply_self # don't reply to me in a mailing list or group!
set realname = "Matthew Lemon" # who am i?
set envelope_from # which from?
set sig_dashes # dashes before sig
@@ -192,6 +193,7 @@ set reply_to # reply to Reply to: field
set reverse_name # reply as whomever it was to
set include # include message in replies
set forward_quote # include message in forwards
+set postpone=ask-no # default to know when asking to postpone
#set editor = "vim" # Use terminal Vim to compose email.
set editor = "vim %s"
@@ -200,6 +202,7 @@ set from = "Matthew Lemon <matt@matthewlemon.com>"
set sendmail = "/usr/bin/msmtp -a purelymail"
set sendmail_wait = 0
set record = "+purelymail/Sent"
+set recall=no # recall with Ctrl-r instead of asking all the time
#bind compose p postpone-message
#bind index p recall-message
@@ -228,7 +231,7 @@ bind pager N search-opposite
macro index a "<limit>all\n" "show all messages (undo limit)"
# get an email from mutt to taskwarrior
-macro index T "<pipe-message>mutt2task<enter> <move-message>purelymail/INBOX.Archive<enter>"
+#macro index T "<pipe-message>mutt2task<enter> <move-message>purelymail/INBOX.Archive<enter>"
# Handle searching using notmuch (see Steve Losh article)
# this doesn't work on linux so using another macro index S "<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch-py.py ~/.mail/temporary/search<enter><change-folder-readonly>+temporary/search<enter>" "search mail (using notmuch)"