7c962b6d40dd

Update.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 12 Sep 2011 10:22:05 -0400
parents 986fd59e3fae
children af32c3c36764
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Fri Sep 09 12:33:24 2011 -0400
+++ b/vim/.vimrc	Mon Sep 12 10:22:05 2011 -0400
@@ -688,9 +688,6 @@
 inoremap <expr> <C-p> pumvisible() ? '<C-n>'  : '<C-n><C-r>=pumvisible() ? "\<lt>up>" : ""<CR>'
 inoremap <expr> <C-n> pumvisible() ? '<C-n>'  : '<C-n><C-r>=pumvisible() ? "\<lt>Down>" : ""<CR>'
 
-" Rainbows!
-nmap <leader>R :RainbowParenthesesToggle<CR>
-
 " Sudo to write
 cmap w!! w !sudo tee % >/dev/null
 
@@ -1044,19 +1041,25 @@
 " }}}
 
 " }}}
-" Hg  ------------------------------------------------------------------------- {{{
+" Hg -------------------------------------------------------------------------- {{{
 
 function! s:HgDiff()
     diffthis
+
     let fn = expand('%:p')
     let ft = &ft
+
     wincmd v
     edit __hgdiff_orig__
+
     setlocal buftype=nofile
+
     normal ggdG
     execute "silent r!hg cat --rev . " . fn
     normal ggdd
+
     execute "setlocal ft=" . ft
+
     diffthis
     diffupdate
 endf
@@ -1071,13 +1074,7 @@
     edit __hgblame__
     vertical resize 28
 
-    setlocal scrollbind
-    setlocal winfixwidth
-    setlocal nolist
-    setlocal nowrap
-    setlocal nonumber
-    setlocal buftype=nofile
-    setlocal ft=none
+    setlocal scrollbind winfixwidth nolist nowrap nonumber buftype=nofile ft=none
 
     normal ggdG
     execute "silent r!hg blame -undq " . fn