From 15d2136f5f8d8cbc48df1b3ad01a42d6c91fa1dd Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 25 Aug 2011 14:51:48 -0400 Subject: [PATCH] Kill relativenumber in blame buffer Closes #102 --- plugin/fugitive.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 969b5dd..dae8a14 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1456,6 +1456,9 @@ function! s:Blame(bang,line1,line2,count,args) abort execute current execute "vertical resize ".(match(getline('.'),'\s\+\d\+)')+1) setlocal nomodified nomodifiable nonumber scrollbind nowrap foldcolumn=0 nofoldenable filetype=fugitiveblame + if exists('+relativenumber') + setlocal norelativenumber + endif nnoremap :exe BlameJump('') nnoremap P :exe BlameJump('^'.v:count1) nnoremap ~ :exe BlameJump('~'.v:count1)