From 3463b780dfad7be4a48e6754f153d1b40accc01a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 9 Oct 2012 15:25:04 -0400 Subject: [PATCH] Fix A in :Gblame with unix timestamp --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index a13ac24..285dd40 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1635,7 +1635,7 @@ function! s:Blame(bang,line1,line2,count,args) abort nnoremap i :exe BlameCommit("exe 'norm q'edit") nnoremap o :exe BlameCommit((&splitbelow ? "botright" : "topleft")." split") nnoremap O :exe BlameCommit("tabedit") - nnoremap A :exe "vertical resize ".(linechars('.\{-\}\ze \d\{4\}-\d\d-\d\d ')+1) + nnoremap A :exe "vertical resize ".(linechars('.\{-\}\ze [0-9:/+-][0-9:/+ -]* \d\+)')+1) nnoremap C :exe "vertical resize ".(linechars('^\S\+')+1) nnoremap D :exe "vertical resize ".(linechars('.\{-\}\ze\d\ze\s\+\d\+)')+1) redraw