From d507d00bd04794119beeb41da118774a96815b65 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 27 Feb 2023 21:47:40 -0500 Subject: [PATCH] Drop g:fugitive_defer_to_existing_maps This doesn't actually work correctly as in a few places we deliberately override a map. I'll accept a PR to bring it back, but it will need to fix said issues. Until then, unmapping undesired maps is the recommended solution. --- autoload/fugitive.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index a7f008d..3d15275 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -275,8 +275,9 @@ endfunction function! s:Map(mode, lhs, rhs, ...) abort let maps = [] - let defer = a:0 && a:1 =~# '' || get(g:, 'fugitive_defer_to_existing_maps') - let flags = substitute(a:0 ? a:1 : '', '', '', '') . (a:rhs =~# '' ? '' : '