|
|
@ -10,12 +10,10 @@ set mailcap_path = ~/.mailcap
|
|
|
|
set tmpdir = ~/.mutt/temp
|
|
|
|
set tmpdir = ~/.mutt/temp
|
|
|
|
set signature = ~/.mutt/sig
|
|
|
|
set signature = ~/.mutt/sig
|
|
|
|
|
|
|
|
|
|
|
|
set mbox_type = Maildir
|
|
|
|
#set mbox_type = Maildir
|
|
|
|
|
|
|
|
|
|
|
|
# Start with these
|
|
|
|
source "gpg -d ~/.gmail_password_mutt.gpg |"
|
|
|
|
set spoolfile = "+DustinswanGmail/INBOX"
|
|
|
|
source "gpg -d ~/.iocom_password_mutt.gpg |"
|
|
|
|
set mbox = "+DustinswanGmail/archive"
|
|
|
|
|
|
|
|
set postponed = "+DustinswanGmail/drafts"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
folder-hook DustinswanGmail 'source ~/.mutt/DustinswanGmail.muttrc'
|
|
|
|
folder-hook DustinswanGmail 'source ~/.mutt/DustinswanGmail.muttrc'
|
|
|
|
folder-hook DswanIOCOM 'source ~/.mutt/DswanIOCOM.muttrc'
|
|
|
|
folder-hook DswanIOCOM 'source ~/.mutt/DswanIOCOM.muttrc'
|
|
|
@ -50,7 +48,7 @@ set sort_aux = reverse-last-date-received
|
|
|
|
# Sidebar
|
|
|
|
# Sidebar
|
|
|
|
set sidebar_delim = ' │'
|
|
|
|
set sidebar_delim = ' │'
|
|
|
|
set sidebar_visible = yes
|
|
|
|
set sidebar_visible = yes
|
|
|
|
set sidebar_width = 40
|
|
|
|
set sidebar_width = 41
|
|
|
|
# color sidebar_new color221 color233
|
|
|
|
# color sidebar_new color221 color233
|
|
|
|
bind index <down> sidebar-next
|
|
|
|
bind index <down> sidebar-next
|
|
|
|
bind index <up> sidebar-prev
|
|
|
|
bind index <up> sidebar-prev
|
|
|
@ -67,9 +65,6 @@ bind index <right> sidebar-open
|
|
|
|
# Colors
|
|
|
|
# Colors
|
|
|
|
# source ~/.mutt/mutt-colors-solarized-dark-256.muttrc
|
|
|
|
# source ~/.mutt/mutt-colors-solarized-dark-256.muttrc
|
|
|
|
|
|
|
|
|
|
|
|
# Source offlineimap's mailbox list
|
|
|
|
|
|
|
|
source ~/.mutt/mailboxes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Notmuch
|
|
|
|
# Notmuch
|
|
|
|
# 'L' performs a notmuch query, showing only the results
|
|
|
|
# '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"
|
|
|
|
#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"
|
|
|
@ -87,21 +82,19 @@ macro pager \Cu "|urlview<enter>" "call urlview to open links"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# New stuff
|
|
|
|
# General options
|
|
|
|
## General options
|
|
|
|
|
|
|
|
set imap_check_subscribed
|
|
|
|
set imap_check_subscribed
|
|
|
|
set imap_keepalive = 300
|
|
|
|
set imap_keepalive = 300
|
|
|
|
unset imap_passive
|
|
|
|
unset imap_passive
|
|
|
|
set mail_check = 60
|
|
|
|
set mail_check = 60
|
|
|
|
set mbox_type=Maildir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Gmail
|
|
|
|
|
|
|
|
source "~/.mutt/DustinswanGmail.muttrc"
|
|
|
|
|
|
|
|
# Here we use the $folder variable that has just been set in the sourced file.
|
|
|
|
|
|
|
|
# We must set it right now otherwise the 'folder' variable will change in the next sourced file.
|
|
|
|
|
|
|
|
folder-hook $folder 'source ~/.mutt/DustinswanGmail.muttrc'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## IOCOM
|
|
|
|
# IOCOM
|
|
|
|
source "~/.mutt/DswanIOCOM.muttrc"
|
|
|
|
source "~/.mutt/DswanIOCOM.muttrc"
|
|
|
|
folder-hook *dswan@iocom.com/ 'source ~/.mutt/DswanIOCOM.muttrc'
|
|
|
|
folder-hook 'imaps://dswan@secure.emailsrvr.com""' 'source ~/.mutt/DswanIOCOM.muttrc'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Gmail
|
|
|
|
|
|
|
|
source "~/.mutt/DustinswanGmail.muttrc"
|
|
|
|
|
|
|
|
folder-hook 'imaps://dustinswan@imap.gmail.com' 'source ~/.mutt/DustinswanGmail.muttrc'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
macro index <f2> '<change-folder>imaps://dustinswan@imap.gmail.com<enter>'
|
|
|
|
|
|
|
|
macro index <f3> '<change-folder>imaps://dswan@secure.emailsrvr.com<enter>'
|
|
|
|