Commits

Ryan Wilcox committed d95326f Merge

Merge commit

Comments (0)

Files changed (6)

 
 [diff "localizablestrings"]
 	textconv = "iconv -f utf-16 -t utf-8"
+
+# This section requires AT LEAST Git 1.7.10
+# it will also silently ignore the file if it can't find it.
+# See: <http://stackoverflow.com/a/9733277/224334>
+[include]
+  path = .gitconfig_private

gitginore_global.rc

 .DS_Store
 *.bbprojectd
 _PERSONAL
+.idea
 ln -s `pwd`/zshrc.sh ~/.zshrc
 ln -s `pwd`/zshrc.sh ~/.zshrc
 
+ln -s `pwd`/mailcap.sh ~/.mailcap
 ln -s `pwd`/muttrc.sh ~/.muttrc
+# A snippet from: <http://hints.macworld.com/dlfiles/mailcap.txt>
+# Thanks to: <http://hints.macworld.com/article.php?story=20041201032409975>
+
+
+# Images
+Image/JPEG; view_attachment %s
+Image/PNG; view_attachment %s
+Image/GIF; view_attachment %s
+application/pdf; view_attachment %s
 
 source ~/.muttrc_private
 
-set from = "Ryan Wilcox <rwilcox@wilcoxd.com>"
-set realname = "Ryan Wilcox"
 set use_from=yes
 set envelope_from=yes
+set use_envelope_from=yes
 
-
-# Basic config, you can leave this as is
-
+source ~/.muttrc_private_wilcoxd
+set mbox_type="Maildir"
 
 set spoolfile = "+INBOX"
 set postponed = "+[Gmail]/Drafts"
 set edit_headers
 set fast_reply = yes # (controls the confirmation of TO and Subject in replys and forwards)
 set confirmappend = no
-set signature="~/.signature"
+
 set include = yes
 set query_command = "contacts -Sf '%eTOKEN%n' '%s' | sed -e 's/TOKEN/\t/g'"
 
 #auto_view text/html
 set ispell="aspell -e -c"
 
+set forward_format = "Fwd: %s"       # format of subject when forwarding
+
+# ######################################## INDEX SECTION ##############################################
+
+set sort_re
+set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
+
+
+# ######################################## PAGER OPTIONS SECTION #######################################
+
+unset markers              # no ugly plus signs
+set pager_stop             # don't go to next message automatically
+set index_format =  "%4C [%Z] %{%b %D} %-15.15L %s"
+
 # ########################################## MACRO SECTION ######################################
 # Gmail-style keyboard shortcuts
 macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message"
 macro index,pager ,h "<enter-command>unset wait_key<enter><pipe-message>python ~/bin/mutt_view_html.py<enter><enter-command>set wait_key<enter>"
 macro index,pager gt "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to sent mail"
 
+macro index,pager ,0 "<enter-command>set sendmail<enter>" "Prints the current sendmail configuration"
 
 # ###################################### BIND SECTION #########################################
 bind	index,pager G	group-reply
 
 # ############################## FOLDER HOOK SECTION ######################################
 
-folder-hook . set sort=threads
+
+# Uncomment these settings so you have a threadeded view other places
+# and unthreaded view in the INBOX
+#
+# This is also an example of folder hooks, so I'm leaving that here in
+# case I need an example
+#set sort_aux = reverse-last-date-received  # like gmail
+#folder-hook . set sort=threads
+#folder-hook INBOX set sort=date-received
+
+# BUT I've changed and like threaded view everywhere, INBOX on a reverse sort
+set sort=threads
 folder-hook . set sort_aux='reverse-last-date-received'
-folder-hook INBOX set sort=date-received
 folder-hook INBOX set sort_aux=last-date-received
 
 
+
 # ################################ THEME SECTION #######################################
 source /Users/aias/.mutt-colors-solarized-dark-16.muttrc
 setopt DVORAK
 setopt VI
 
+bindkey '^R' history-incremental-search-backward
 
 # additional env variables
 #
 } < $HOME/.hostshortname
 
 
-source /usr/local/bin/virtualenvwrapper.sh
+#source /usr/local/bin/virtualenvwrapper.sh
 source $HOME/bin/resty
 
 export WORKON_HOME=/Users/aias/.virtualenvs
 export WORKON_HOME=/Users/aias/.virtualenvs
 
 # install django_env into the shell
-source /Users/aias/.django_env
+#source /Users/aias/.django_env
 
 # Now, use screeninator....
 if [[ -s $HOME/.screeninator/scripts/screeninator ]] ; then source $HOME/.screeninator/scripts/screeninator ; fi
+
+PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting