parent
5f5c8da61f
commit
15d2136f5f
@ -1456,6 +1456,9 @@ function! s:Blame(bang,line1,line2,count,args) abort
|
|||||||
execute current
|
execute current
|
||||||
execute "vertical resize ".(match(getline('.'),'\s\+\d\+)')+1)
|
execute "vertical resize ".(match(getline('.'),'\s\+\d\+)')+1)
|
||||||
setlocal nomodified nomodifiable nonumber scrollbind nowrap foldcolumn=0 nofoldenable filetype=fugitiveblame
|
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> <CR> :<C-U>exe <SID>BlameJump('')<CR>
|
||||||
nnoremap <buffer> <silent> P :<C-U>exe <SID>BlameJump('^'.v:count1)<CR>
|
nnoremap <buffer> <silent> P :<C-U>exe <SID>BlameJump('^'.v:count1)<CR>
|
||||||
nnoremap <buffer> <silent> ~ :<C-U>exe <SID>BlameJump('~'.v:count1)<CR>
|
nnoremap <buffer> <silent> ~ :<C-U>exe <SID>BlameJump('~'.v:count1)<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user