1cf909cf8e5a

More random stuff.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 28 Apr 2011 17:12:48 -0400
parents 2457f7283b5a
children 8f0b83a01945
branches/tags (none)
files .hgrc vim/.vimrc

Changes

--- a/.hgrc	Wed Apr 27 11:13:20 2011 -0400
+++ b/.hgrc	Thu Apr 28 17:12:48 2011 -0400
@@ -194,3 +194,6 @@
 statd = !ps auxww | grep -v grep | grep hgd.py >/dev/null && echo 'running' || echo "not running"
 killt = !ps auxww | grep "hgd/hgd.py" | grep -v grep | sed -e 's/  */ /g' | cut -d" " -f2 | cat
 killd = !ps auxww | grep "hgd/hgd.py" | grep -v grep | sed -e 's/  */ /g' | cut -d" " -f2 | xargs kill
+
+# Show in MacVim
+vshow = !$HG show $@ | mvim -c ':AnsiEsc' -c 'setlocal buftype=nofile' -
--- a/vim/.vimrc	Wed Apr 27 11:13:20 2011 -0400
+++ b/vim/.vimrc	Thu Apr 28 17:12:48 2011 -0400
@@ -406,6 +406,11 @@
 au Filetype puppet set foldmarker={,}
 
 " }}}
+" Firefox {{{
+
+au BufRead,BufNewFile ~/Library/Caches/* setlocal buftype=nofile
+
+" }}}
 
 " }}}
 " Convenience mappings -------------------------------------------------------- {{{