--- 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 -------------------------------------------------------- {{{