commit e9e48006dd27d5a23e01a9bc0e5e1fca15f01756 (tree)
parent c4baefff69c09a03879f28a76c2e4e0051a4cc3a
Author: Tim Pope <code@tpope.net>
Date: Sat, 1 Oct 2011 15:52:44 -0400
Fix :Gblame scrollbind with folds
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -1491,6 +1491,7 @@ function! s:Blame(bang,line1,line2,count,args) abort
nnoremap <buffer> <silent> i :<C-U>exe "exe 'norm q'<Bar>".<SID>Edit("edit", 0, matchstr(getline('.'),'\x\+'))<CR>
nnoremap <buffer> <silent> o :<C-U>exe <SID>Edit((&splitbelow ? "botright" : "topleft")." split", 0, matchstr(getline('.'),'\x\+'))<CR>
nnoremap <buffer> <silent> O :<C-U>exe <SID>Edit("tabedit", 0, matchstr(getline('.'),'\x\+'))<CR>
+ redraw
syncbind
endif
finally