6a75b5bfa46c

Improve hgd mapping
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 07 Dec 2015 15:43:55 +0000
parents e7642253ffde
children dab975004291
branches/tags (none)
files vim/vimrc

Changes

--- a/vim/vimrc	Sat Dec 05 22:46:56 2015 +0000
+++ b/vim/vimrc	Mon Dec 07 15:43:55 2015 +0000
@@ -2569,7 +2569,7 @@
 nnoremap <leader>hD :HgDiff<cr>
 
 " Diff the entire repo
-nnoremap <leader>hd :Clam hg diff<cr>:set ft=diff nowrap<cr>
+nnoremap <leader>hd :Clam hg diff<cr>:set ft=diff nowrap foldlevel=1<cr>gg
 
 function! s:HgBlame() " {{{
     let fn = expand('%:p')