d173e6dcfe6c

Moar.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 07 Jun 2011 12:37:33 -0400
parents 4aa6af0a92a5
children fe78a06f87a4
branches/tags (none)
files .hgrc vim/.vimrc

Changes

--- 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
--- 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 <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr>
+nnoremap <leader>es <C-w>s<C-w>j<C-w>L:e ~/.vim/snippets/<cr>
+nnoremap <leader>eo <C-w>s<C-w>j<C-w>L:e ~/Dropbox/Org<cr>4j
+
+" }}}
 " Convenience mappings -------------------------------------------------------- {{{
 
 " Clean whitespace
@@ -474,10 +481,6 @@
 " Rainbows!
 nmap <leader>R :RainbowParenthesesToggle<CR>
 
-" Edit vim stuff
-nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr>
-nnoremap <leader>es <C-w>s<C-w>j<C-w>L:e ~/.vim/snippets/<cr>
-
 " 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