# HG changeset patch # User Steve Losh # Date 1307464653 14400 # Node ID d173e6dcfe6c0a8bd6653281d3f2fbe0b90eed69 # Parent 4aa6af0a92a531f21b41207cd394772e824e93fc Moar. diff -r 4aa6af0a92a5 -r d173e6dcfe6c .hgrc --- a/.hgrc Mon Jun 06 09:05:55 2011 -0400 +++ b/.hgrc Tue Jun 07 12:37:33 2011 -0400 @@ -211,3 +211,4 @@ # Update subrepos subpull = !grep = "`$HG root`/.hgsub" | cut -d' ' -f1 | xargs -n 1 -I SUB hg pull --cwd "`$HG root`/SUB" subup = !grep = "`$HG root`/.hgsub" | cut -d' ' -f1 | xargs -n 1 -I SUB hg update --cwd "`$HG root`/SUB" +sub = !grep = "`$HG root`/.hgsub" | cut -d' ' -f1 | grep "$1" | tr -d '\n ' | xargs -0 -I SUB $HG -R SUB $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 diff -r 4aa6af0a92a5 -r d173e6dcfe6c vim/.vimrc --- a/vim/.vimrc Mon Jun 06 09:05:55 2011 -0400 +++ b/vim/.vimrc Tue Jun 07 12:37:33 2011 -0400 @@ -433,6 +433,13 @@ " }}} " }}} +" Quick editing --------------------------------------------------------------- {{{ + +nnoremap ev sjL:e $MYVIMRC +nnoremap es sjL:e ~/.vim/snippets/ +nnoremap eo sjL:e ~/Dropbox/Org4j + +" }}} " Convenience mappings -------------------------------------------------------- {{{ " Clean whitespace @@ -474,10 +481,6 @@ " Rainbows! nmap R :RainbowParenthesesToggle -" Edit vim stuff -nnoremap ev sjL:e $MYVIMRC -nnoremap es sjL:e ~/.vim/snippets/ - " Sudo to write cmap w!! w !sudo tee % >/dev/null @@ -612,7 +615,7 @@ " }}} " OrgMode {{{ -let g:org_plugins = ['ShowHide', '|', 'Navigator', 'EditStructure', '|', 'Todo', 'Misc'] +let g:org_plugins = ['ShowHide', '|', 'Navigator', 'EditStructure', '|', 'Todo', 'Date', 'Misc'] let g:org_todo_keywords = ['TODO', 'HOLD', '|', 'DONE'] let g:org_debug = 1