motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 15d2136f5f8d8cbc48df1b3ad01a42d6c91fa1dd (tree)
parent 5f5c8da61fd817ba8dc091350b51c1ab7ca53c8d
Author: Tim Pope <code@tpope.net>
Date:   Thu, 25 Aug 2011 14:51:48 -0400

Kill relativenumber in blame buffer

Closes #102

Diffstat:
Mplugin/fugitive.vim | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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 <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>