27ec8da23760

Random stuff.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 10 Nov 2011 10:12:24 -0500
parents 97ed9c696a48
children b503af8e2bbe
branches/tags (none)
files .hgrc .hgsubstate vim/.vimrc

Changes

--- a/.hgrc	Thu Nov 03 09:49:11 2011 -0400
+++ b/.hgrc	Thu Nov 10 10:12:24 2011 -0500
@@ -235,6 +235,10 @@
 # Show in MacVim
 vshow = !$HG show $@ | mvim -c ':AnsiEsc' -c 'setlocal buftype=nofile' -
 
+# Ack for non-ignored files
+ack = !$HG locate "set:not ignored()" | xargs ack $@
+grep-wdir = !$HG locate "set:not ignored()" | xargs grep $@
+
 # Run hg commands on all subrepos at once.
 subs  = !"$HG" debugsub | grep '^path' | cut -d' ' -f2 | xargs    -n1  -I SUB $HG -R "`$HG root`/SUB" $@
 psubs = !"$HG" debugsub | grep '^path' | cut -d' ' -f2 | parallel -j10 -I SUB $HG -R "`$HG root`/SUB" $@
--- a/.hgsubstate	Thu Nov 03 09:49:11 2011 -0400
+++ b/.hgsubstate	Thu Nov 10 10:12:24 2011 -0500
@@ -14,14 +14,14 @@
 2dd198c6c412b4ddd361b43586b01981e8383239 vim/bundle/nerdtree
 b7889db57c90824ff5092da4fdde9e05689f24fa vim/bundle/nosecompiler
 a0831b09f2026c3a3d52e253ffd139fe20a9360a vim/bundle/pydoc
-5aa885ece727e8d6e46723a9b9293b08530e7532 vim/bundle/rainbow-parentheses
+fa3563dda862c1dc46ddac32d8a9f939e9077379 vim/bundle/rainbow-parentheses
 fbc884de41302bb08b93b9d4d9c6921248a31a4c vim/bundle/slimv
 c6197a10ace82e0fe0c08e5cf5c017b7069a978e vim/bundle/sparkup
 6eec2c131213850ed65fd6da494dfd1a0d620a4e vim/bundle/strftimedammit
 80ec6539e4139a2e0281a0f1e36d5038d55ad980 vim/bundle/supertab
 d9e6bfdd902fc661c8fd58ede248ccfc3b3039d7 vim/bundle/surround
 e220e1d8e6582b67618ac0d07b32c02e5f78210f vim/bundle/syntastic
-369ed2855a55d6a9553b679825e19f1a3e487583 vim/bundle/threesome
+bbc5193de145ba5334cf02693d959f475a3e850b vim/bundle/threesome
 c0a4929c940e4fb32f8aaa70440da113c7064467 vim/bundle/vim-arpeggio
 b944e534bd6bbfc4fd56d4ee1a8aa831188387b0 vim/bundle/vim-coffee-script
 8d06adbd56a761684701d1c60990b72c845be3d5 vim/bundle/vim-commentary
--- a/vim/.vimrc	Thu Nov 03 09:49:11 2011 -0400
+++ b/vim/.vimrc	Thu Nov 10 10:12:24 2011 -0500
@@ -219,7 +219,7 @@
 
 " Easier to type, and I never use the default behavior.
 noremap H ^
-noremap L $
+noremap L g_
 
 " Heresy
 inoremap <c-a> <esc>I
@@ -984,6 +984,9 @@
 let NERDTreeHighlightCursorline=1
 let NERDTreeIgnore=['.vim$', '\~$', '.*\.pyc$', 'pip-log\.txt$', 'whoosh_index', 'xapian_index', '.*.pid', 'monitor.py', '.*-fixtures-.*.json', '.*\.o$', 'db.db']
 
+let NERDTreeMinimalUI = 1
+let NERDTreeDirArrows = 1
+
 " }}}
 " OrgMode {{{
 
@@ -1005,6 +1008,26 @@
 " Rainbox Parentheses {{{
 
 nnoremap <leader>R :RainbowParenthesesToggle<cr>
+let g:rbpt_colorpairs = [
+    \ ['brown',       'RoyalBlue3'],
+    \ ['Darkblue',    'SeaGreen3'],
+    \ ['darkgray',    'DarkOrchid3'],
+    \ ['darkgreen',   'firebrick3'],
+    \ ['darkcyan',    'RoyalBlue3'],
+    \ ['darkred',     'SeaGreen3'],
+    \ ['darkmagenta', 'DarkOrchid3'],
+    \ ['brown',       'firebrick3'],
+    \ ['gray',        'RoyalBlue3'],
+    \ ['black',       'SeaGreen3'],
+    \ ['darkmagenta', 'DarkOrchid3'],
+    \ ['Darkblue',    'firebrick3'],
+    \ ['darkgreen',   'RoyalBlue3'],
+    \ ['darkcyan',    'SeaGreen3'],
+    \ ['darkred',     'DarkOrchid3'],
+    \ ['red',         'firebrick3'],
+    \ ]
+let g:rbpt_max = 16
+
 
 " }}}
 " Rope {{{