Kill relativenumber in blame buffer

Closes #102
This commit is contained in:
Tim Pope 2011-08-25 14:51:48 -04:00
parent 5f5c8da61f
commit 15d2136f5f

View File

@ -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 <buffer> <silent> <CR> :<C-U>exe <SID>BlameJump('')<CR>
nnoremap <buffer> <silent> P :<C-U>exe <SID>BlameJump('^'.v:count1)<CR>
nnoremap <buffer> <silent> ~ :<C-U>exe <SID>BlameJump('~'.v:count1)<CR>