From 68b999bfd045c002625362346cc888cb4f1ddcb1 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 14 Jul 2019 18:02:00 -0400 Subject: [PATCH] Remove C map It's not worth claiming a whole map just to save one key press. --- autoload/fugitive.vim | 3 +-- doc/fugitive.txt | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 115d6cd..f99a5f2 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4859,8 +4859,7 @@ function! fugitive#MapJumps(...) abort nnoremap c- :Gcommit - nnoremap c :Gcommit nnoremap c :Gcommit - nnoremap co :echoerr 'Use CTRL-W C' - nnoremap C :exe 'Gsplit ' . fnameescape(ContainingCommit()) + nnoremap co :echoerr 'Use CTRL-W sC' nnoremap cp :echoerr 'Use gC' nnoremap gC :exe 'Gpedit ' . fnameescape(ContainingCommit()) nnoremap gc :exe 'Gpedit ' . fnameescape(ContainingCommit()) diff --git a/doc/fugitive.txt b/doc/fugitive.txt index 6669c6d..cdd9da9 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -317,10 +317,6 @@ P Open the current file in the [count]th parent. *fugitive_C* C Open the commit containing the current file. - *fugitive_CTRL-W_C* -C Open the commit containing the current file in a new - split. - *fugitive_CTRL-P* Jump to the previous file or hunk.