Breaking mail stuff
This commit is contained in:
49
mutt/muttrc
49
mutt/muttrc
@@ -1,7 +1,7 @@
|
||||
# General
|
||||
set realname = "Dustin Swan"
|
||||
|
||||
#set folder = ~/.mail
|
||||
set folder = ~/.mail
|
||||
set alias_file = ~/.mutt/alias
|
||||
set header_cache = ~/.mutt/cache/headers
|
||||
set message_cachedir = ~/.mutt/cache/bodies
|
||||
@@ -10,18 +10,19 @@ set mailcap_path = ~/.mailcap
|
||||
set tmpdir = ~/.mutt/temp
|
||||
set signature = ~/.mutt/sig
|
||||
|
||||
#set mbox_type = Maildir
|
||||
set mbox_type = Maildir
|
||||
#
|
||||
# Start with these
|
||||
set spoolfile = "+gmail/INBOX"
|
||||
#set mbox = "+gmail/archive" # TODO
|
||||
#set postponed = "+gmail/drafts" # TODO
|
||||
|
||||
source "gpg -d ~/.gmail_password_mutt.gpg |"
|
||||
source "gpg -d ~/.iocom_password_mutt.gpg |"
|
||||
|
||||
folder-hook DustinswanGmail 'source ~/.mutt/DustinswanGmail.muttrc'
|
||||
folder-hook DswanIOCOM 'source ~/.mutt/DswanIOCOM.muttrc'
|
||||
#source "gpg -d ~/.gmail_password_mutt.gpg |"
|
||||
#source "gpg -d ~/.iocom_password_mutt.gpg |"
|
||||
|
||||
set sendmail_wait = 0
|
||||
set send_charset = "utf-8"
|
||||
|
||||
|
||||
bind index gg first-entry
|
||||
bind index G last-entry
|
||||
bind index R group-reply # Was g
|
||||
@@ -57,43 +58,19 @@ bind index <right> sidebar-open
|
||||
#set status_chars = " *&A"
|
||||
#set status_format = "---[ Folder: %f ]---[%r%n messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]---%>-%?p?( %p postponed )?---""
|
||||
|
||||
# Fucking html mail
|
||||
# html mail
|
||||
auto_view text/html
|
||||
alternative_order text/plain text/enriched text/html
|
||||
|
||||
# Colors
|
||||
source ~/.mutt/mutt-colors-solarized-dark-256.muttrc
|
||||
|
||||
# 'L' performs a notmuch query, showing only the results
|
||||
macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern"
|
||||
|
||||
# 'a' shows all messages again (supersedes default <alias> binding)
|
||||
macro index a "<limit>all\n" "show all messages (undo limit)"
|
||||
|
||||
# Urlview
|
||||
macro pager \Cu "|urlview<enter>" "call urlview to open links"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# General options
|
||||
set imap_check_subscribed
|
||||
set imap_keepalive = 300
|
||||
unset imap_passive
|
||||
set mail_check = 60
|
||||
|
||||
set ssl_force_tls = yes
|
||||
unset ssl_starttls
|
||||
|
||||
# IOCOM
|
||||
source "~/.mutt/DswanIOCOM.muttrc"
|
||||
folder-hook 'imaps://secure.emailsrvr.com' 'source ~/.mutt/DswanIOCOM.muttrc'
|
||||
|
||||
# Gmail
|
||||
source "~/.mutt/DustinswanGmail.muttrc"
|
||||
folder-hook 'imaps://imap.gmail.com' 'source ~/.mutt/DustinswanGmail.muttrc'
|
||||
|
||||
macro index <f2> '<change-folder>imaps://imap.gmail.com<enter>'
|
||||
macro index <f3> '<change-folder>imaps://secure.emailsrvr.com<enter>'
|
||||
|
||||
Reference in New Issue
Block a user