From e0d4a281a88ae9369a79eef6d5ab558e7e61a89b Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 7 Jul 2019 16:13:53 -0400 Subject: [PATCH] Remove transitional g| mapping --- autoload/fugitive.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 0e68e55..d8c5ce4 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1708,8 +1708,8 @@ function! fugitive#BufReadStatus() abort exe 'nnoremap ' s:nowait "gq :if bufnr('$') == 1quitelsebdeleteendif" nnoremap R :echohl WarningMsgecho 'Reloading is automatic. Use :e to force'echohl NONE nnoremap U :echoerr 'Changed to X' - nnoremap g :execute StageDelete(line('.'),v:count) - xnoremap g :execute StageDelete(line("'<"),line("'>")-line("'<")+1) + nnoremap g :echoerr 'Changed to X' + xnoremap g :echoerr 'Changed to X' nnoremap X :execute StageDelete(line('.'),v:count) xnoremap X :execute StageDelete(line("'<"),line("'>")-line("'<")+1) nnoremap . : =StageArgs(0)