Skip to content

Commit

Permalink
Random stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjl committed Nov 10, 2011
1 parent b66f875 commit d917cd7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .hgrc
Expand Up @@ -235,6 +235,10 @@ ignore = ![ -n "$@" ] && echo '$@' >> `$HG root`/.hgignore && \
# 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" $@
Expand Down
4 changes: 2 additions & 2 deletions .hgsubstate
Expand Up @@ -14,14 +14,14 @@ ffc45dd5a59b7b62edb02641c69a163f19fd02c0 vim/bundle/hammer
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
Expand Down
25 changes: 24 additions & 1 deletion vim/.vimrc
Expand Up @@ -219,7 +219,7 @@ nnoremap g, g,zz
" Easier to type, and I never use the default behavior.
noremap H ^
noremap L $
noremap L g_
" Heresy
inoremap <c-a> <esc>I
Expand Down Expand Up @@ -984,6 +984,9 @@ au Filetype nerdtree setlocal nolist
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 {{{

Expand All @@ -1005,6 +1008,26 @@ au FileType python noremap <buffer> <localleader>dS :call ShowPyDoc('<C-R><C-A>'
" 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 {{{
Expand Down

0 comments on commit d917cd7

Please sign in to comment.