From 87b169728ca3b38a4d917cdbe36ab35397d7ef36 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 6 Apr 2021 20:39:57 -0400 Subject: [PATCH] Add aliases for blame "-" map This is one of the more common conflicts people have with their own maps, so make it available on "s" and "u". This roughly lines up with the status buffer maps, which I think is as good of decision as any, lacking a better mnemonic. --- autoload/fugitive.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 6fd0f12..816aad3 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -6035,6 +6035,8 @@ function! fugitive#BlameFileType() abort call s:Map('n', '<2-LeftMouse>', ':exe BlameCommit("exe BlameLeave()edit")', '') call s:Map('n', '', ':exe BlameCommit("exe BlameLeave()edit")', '') call s:Map('n', '-', ':exe BlameJump("")', '') + call s:Map('n', 's', ':exe BlameJump("")', '') + call s:Map('n', 'u', ':exe BlameJump("")', '') call s:Map('n', 'P', ':exe BlameJump("^".v:count1)', '') call s:Map('n', '~', ':exe BlameJump("~".v:count1)', '') call s:Map('n', 'i', ':exe BlameCommit("exe BlameLeave()edit")', '')