Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more mail config, some zshrc tweaks

  • Loading branch information...
commit 1591980e41665cbbde88db3406dd441763061522 1 parent c993d83
@dlobraico authored
Showing with 121 additions and 34 deletions.
  1. +4 −4 msmtprc
  2. +20 −26 muttrc
  3. +87 −0 notmuch-config
  4. +4 −4 vimrc
  5. +6 −0 zshrc
View
8 msmtprc
@@ -1,11 +1,11 @@
-account personal
+account d@lobraico.com
host smtp.gmail.com
port 587
protocol smtp
auth on
-from dj@lobraico.com
-user dj@lobraico.com
+from d@lobraico.com
+user d@lobraico.com
tls on
tls_trust_file ~/.mutt/Equifax_Secure_CA.cert
-account default : personal
+account default : d@lobraico.com
View
46 muttrc
@@ -1,5 +1,5 @@
-set from = "dj@lobraico.com"
-set sendmail = "/usr/local/bin/msmtp -a personal"
+set from = "d@lobraico.com"
+set sendmail = "/usr/local/bin/msmtp -a d@lobraico.com"
set sendmail_wait = 0
unset record
@@ -7,7 +7,7 @@ set realname = "D. LoBraico"
set folder = "$HOME/Mail"
set spoolfile =+/personal/INBOX
-alternates d@lobraico.com
+alternates dj@lobraico.com
# Paths and folders
set alias_file = "~/.mutt/alias"
@@ -39,40 +39,34 @@ bind index p recall-message
auto_view text/html
-#set sort = 'threads'
-#set sort_aux = 'reverse-last-date-received'
-#set auto_tag = yes
-#ignore "Authentication-Results:"
-#ignore "DomainKey-Signature:"
-#ignore "DKIM-Signature:"
-#hdr_order Date From To Cc
-#alternative_order text/plain text/html *
-#auto_view text/html
-
# Editor
set editor = "vim"
# Colors
-color index red black ~N
-color index red black ~O
source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc
+# source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc
# Sidebar Patch
source $HOME/Mail/muttrc.mailboxes
-set sidebar_delim = ' |'
+set sidebar_delim = ' | '
set sidebar_visible = yes
-set sidebar_width = 24
-color sidebar_new color221 color233
+set sidebar_width = 35
+color sidebar_new brightred default
+
+#set sidebar_format = "%B %N %F %S"
+set sidebar_folderindent = "yes"
+
+# Sidebar navigation
+bind index,pager \Cj sidebar-next
+bind index,pager \Ck sidebar-prev
+bind index,pager \Cl sidebar-open
+macro index \Ch '<enter-command>toggle sidebar_visible<enter><refresh>'
+macro pager \Ch '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
# Status Bar
set status_chars = " *%A"
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
-# Sidebar navigation
-bind index,pager <down> sidebar-next
-bind index,pager <up> sidebar-prev
-bind index,pager <right> sidebar-open
-
# Header options
ignore * # ignore all headers
unignore from: to: cc: date: subject: # show only these
@@ -89,7 +83,6 @@ set sort_re # thread based on regex
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
# Index key bindings
-# Index Key Bindings ---------------------------------
bind index gg first-entry
bind index G last-entry
@@ -147,6 +140,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 text_flowed
# Address book!
set query_command = "contacts -Sf '%eTOKEN%n' '%s' | sed -e 's/TOKEN/\t/g'"
@@ -154,8 +148,8 @@ bind editor <Tab> complete-query
bind editor ^T complete
# Search
-bind index N search-opposite
-bind pager N search-opposite
+#bind index N search-opposite
+#bind pager N search-opposite
macro index a "<limit>all\n" "show all messages (undo limit)"
# 'L' performs a notmuch query, showing only the results
View
87 notmuch-config
@@ -0,0 +1,87 @@
+# .notmuch-config - Configuration file for the notmuch mail system
+#
+# For more information about notmuch, see http://notmuchmail.org
+
+# Database configuration
+#
+# The only value supported here is 'path' which should be the top-level
+# directory where your mail currently exists and to where mail will be
+# delivered in the future. Files should be individual email messages.
+# Notmuch will store its database within a sub-directory of the path
+# configured here named ".notmuch".
+#
+[database]
+path=/Users/dlobraico/Mail
+
+# User configuration
+#
+# Here is where you can let notmuch know how you would like to be
+# addressed. Valid settings are
+#
+# name Your full name.
+# primary_email Your primary email address.
+# other_email A list (separated by ';') of other email addresses
+# at which you receive email.
+#
+# Notmuch will use the various email addresses configured here when
+# formatting replies. It will avoid including your own addresses in the
+# recipient list of replies, and will set the From address based on the
+# address to which the original email was addressed.
+#
+[user]
+name=Dominick LoBraico
+primary_email=dj@lobraico.com
+other_email=d@lobraico.com;
+
+# Configuration for "notmuch new"
+#
+# The following options are supported here:
+#
+# tags A list (separated by ';') of the tags that will be
+# added to all messages incorporated by "notmuch new".
+#
+# ignore A list (separated by ';') of file and directory names
+# that will not be searched for messages by "notmuch new".
+#
+# NOTE: *Every* file/directory that goes by one of those names will
+# be ignored, independent of its depth/location in the mail store.
+#
+[new]
+tags=unread;inbox;
+ignore=
+
+# Search configuration
+#
+# The following option is supported here:
+#
+# exclude_tags
+# A ;-separated list of tags that will be excluded from
+# search results by default. Using an excluded tag in a
+# query will override that exclusion.
+#
+[search]
+exclude_tags=deleted;spam;
+
+# Maildir compatibility configuration
+#
+# The following option is supported here:
+#
+# synchronize_flags Valid values are true and false.
+#
+# If true, then the following maildir flags (in message filenames)
+# will be synchronized with the corresponding notmuch tags:
+#
+# Flag Tag
+# ---- -------
+# D draft
+# F flagged
+# P passed
+# R replied
+# S unread (added when 'S' flag is not present)
+#
+# The "notmuch new" command will notice flag changes in filenames
+# and update tags, while the "notmuch tag" and "notmuch restore"
+# commands will notice tag changes and update flags in filenames
+#
+[maildir]
+synchronize_flags=true
View
8 vimrc
@@ -111,10 +111,10 @@ endif
set modelines=0 " don't check modelines, could be dangerous
" Tabs/spaces
-"set tabstop=4
-"set shiftwidth=4
-"set softtabstop=4
-"set expandtab
+set tabstop=4
+set shiftwidth=4
+set softtabstop=4
+set expandtab
" Select range, then hit :SuperRetab($width) - by p0g and FallingCow
function! SuperRetab(width) range
View
6 zshrc
@@ -76,6 +76,12 @@ fi
# mac specific
if [[ $platform = 'darwin' ]]; then
+ # make completion /Applications aware
+ compctl -f -x 'p[2]' -s "`/bin/ls -d1 /Applications/*/*.app /Applications/*.app | sed 's|^.*/\([^/]*\)\.app.*|\\1|;s/ /\\\\ /g'`" -- open
+ alias run='open -a'
+
+ # iTerm growl
+ growl() { echo -e $'\e]9;'${1}'\007' ; return ; }
alias vim="/usr/local/Cellar/macvim/7.3-66/MacVim.app/Contents/MacOS/Vim"
Please sign in to comment.
Something went wrong with that request. Please try again.