Remove <C-W>C map

It's not worth claiming a whole map just to save one key press.
This commit is contained in:
Tim Pope 2019-07-14 18:02:00 -04:00
parent 58b2b85c9e
commit 68b999bfd0
2 changed files with 1 additions and 6 deletions

View File

@ -4859,8 +4859,7 @@ function! fugitive#MapJumps(...) abort
nnoremap <buffer> c- :Gcommit -
nnoremap <buffer> c<Space> :Gcommit<Space>
nnoremap <buffer> c<CR> :Gcommit<CR>
nnoremap <buffer> <silent> co :<C-U>echoerr 'Use CTRL-W C'<CR>
nnoremap <buffer> <silent> <C-W>C :<C-U>exe 'Gsplit ' . <SID>fnameescape(<SID>ContainingCommit())<CR>
nnoremap <buffer> <silent> co :<C-U>echoerr 'Use CTRL-W sC'<CR>
nnoremap <buffer> <silent> cp :<C-U>echoerr 'Use gC'<CR>
nnoremap <buffer> <silent> gC :<C-U>exe 'Gpedit ' . <SID>fnameescape(<SID>ContainingCommit())<CR>
nnoremap <buffer> <silent> gc :<C-U>exe 'Gpedit ' . <SID>fnameescape(<SID>ContainingCommit())<CR>

View File

@ -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-W>C Open the commit containing the current file in a new
split.
*fugitive_CTRL-P*
<C-P> Jump to the previous file or hunk.