summaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
Diffstat (limited to '.mutt')
-rw-r--r--.mutt/mutt-colors-solarized-dark-16.muttrc15
-rw-r--r--.mutt/muttrc14
-rw-r--r--.mutt/offlineimap.py2
-rw-r--r--.mutt/personal5
-rw-r--r--.mutt/work19
5 files changed, 43 insertions, 12 deletions
diff --git a/.mutt/mutt-colors-solarized-dark-16.muttrc b/.mutt/mutt-colors-solarized-dark-16.muttrc
index e9d6def..d499e3a 100644
--- a/.mutt/mutt-colors-solarized-dark-16.muttrc
+++ b/.mutt/mutt-colors-solarized-dark-16.muttrc
@@ -41,7 +41,9 @@ mono bold bold
mono underline underline
mono indicator reverse
mono error bold
-
+color normal default default
+color normal yellow default
+color normal default default
# index ----------------------------------------------------------------
#color index red default "~D(!~p|~p)" # deleted
@@ -120,8 +122,6 @@ color body cyan default "(Good signature)"
color body brightblack default "^gpg: Good signature .*"
color body brightyellow default "^gpg: "
color body brightyellow red "^gpg: BAD signature from.*"
-mono body bold "^gpg: Good signature"
-mono body bold "^gpg: BAD signature from.*"
# yes, an insance URL regex
color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
@@ -149,3 +149,12 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-
#folder-hook gmail/inbox "color status J_black yellow "
#folder-hook gmail/important "color status J_black yellow "
+color body blue default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
+color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
+color body green default "\`[^\`]*\`" # Green text between ` and `
+color body brightblue default "^# \.*" # Headings as bold blue
+color body brightcyan default "^## \.*" # Subheadings as bold cyan
+color body brightgreen default "^### \.*" # Subsubheadings as bold green
+color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
+color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
+
diff --git a/.mutt/muttrc b/.mutt/muttrc
index da04d60..ee7f6ba 100644
--- a/.mutt/muttrc
+++ b/.mutt/muttrc
@@ -1,5 +1,5 @@
# Paths ----------------------------------------------
-set folder = ~/mail # mailbox location
+set folder = ~/.mail # mailbox location
#set alias_file = ~/.mutt/alias # where to store aliases
set header_cache = ~/.mutt/cache/headers # where to store headers
set message_cachedir = ~/.mutt/cache/bodies # where to store bodies
@@ -63,8 +63,8 @@ bind index <space> collapse-thread
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
# Sync email
-macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail"
-macro index i "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox"
+macro index O "<shell-escape>mbsync personal<enter>" "run mbsync to sync all mail"
+macro index o "<shell-escape>mbsync personal:INBOX<enter>" "run mbsync to sync inbox"
# Saner copy/move dialogs
# macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
@@ -72,11 +72,11 @@ macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
# Gmail style archiving and starring
macro index,pager a "<save-message>=Archive<enter><sync-mailbox>" "Archive"
-macro index,pager s "<save-message>=starred<enter><sync-mailbox>" "Starred"
+macro index,pager s "<save-message>=Starred<enter><sync-mailbox>" "Starred"
macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index,pager ga "<change-folder>=Archive<enter>" "Go to all mail"
macro index,pager gb "<change-folder>=Bookmarks<enter>" "Go to Bookmarks"
-#macro index,pager gs "<change-folder>=starred<enter>" "Go to starred messages"
+macro index,pager gt "<change-folder>=Starred<enter>" "Go to starred messages"
macro index,pager gs "<change-folder>=Sent<enter>" "Go to starred messages"
#Save a message to my notes folder
macro index,pager N "<pipe-message>~/bin/mqq.sh "
@@ -157,8 +157,8 @@ macro index <F9> "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt
#macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
-set spoolfile = "+personal/INBOX"
+set spoolfile = "+INBOX"
source ~/.mutt/personal
-folder-hook personal/* source ~/.mutt/personal
+#folder-hook personal/* source ~/.mutt/personal
#folder-hook wired/* source ~/.mutt/work
diff --git a/.mutt/offlineimap.py b/.mutt/offlineimap.py
index f84b6bc..a885aef 100644
--- a/.mutt/offlineimap.py
+++ b/.mutt/offlineimap.py
@@ -3,3 +3,5 @@ from subprocess import check_output
def get_password(account):
return check_output("pass " + account, shell=True).splitlines()[0]
+
+
diff --git a/.mutt/personal b/.mutt/personal
index 748b1bf..e90d825 100644
--- a/.mutt/personal
+++ b/.mutt/personal
@@ -1,5 +1,6 @@
set from = "sng@luxagraf.net"
-set folder = ~/mail/personal
+set reverse_name = yes
+set folder = ~/.mail
set sendmail = "/usr/bin/msmtp -a personal"
set sendmail_wait = 0
set trash = "+Trash"
@@ -7,7 +8,7 @@ set mbox = "+Archive"
set postponed = "+Drafts"
set record="+Sent"
# Alternate email addresses.
-alternates "luxagraf@gmail.com"
+alternates "wired@scottgilbertson.net"
# Mailboxes to show
mailboxes =INBOX \
diff --git a/.mutt/work b/.mutt/work
new file mode 100644
index 0000000..e0578cd
--- /dev/null
+++ b/.mutt/work
@@ -0,0 +1,19 @@
+set from = "wired@scottgilbertson.net"
+set folder = ~/mail/wired
+set sendmail = "/usr/bin/msmtp -a work"
+set trash = "+Trash"
+set mbox = "+Archive"
+set postponed = "+Drafts"
+set record="+Sent"
+# Alternate email addresses.
+alternates "scott_gilbertson@wired.com"
+
+# Mailboxes to show
+mailboxes =INBOX \
+ +Archive \
+ +Trash \
+ +Sent \
+ +Drafts \
+ +temporary/search \
+
+