diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index eb58ced076..82faa8fbca 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -7926,7 +7926,8 @@ function! s:MapGitOps(is_ftplugin) abort exe s:Map('n', 'cF', ':Git -c sequence.editor=true rebase --interactive --autosquash=RebaseArgument()Git commit --fixup==SquashArgument()', '', ft) exe s:Map('n', 'cs', ':Git commit --no-edit --squash==SquashArgument()', '', ft) exe s:Map('n', 'cS', ':Git -c sequence.editor=true rebase --interactive --autosquash=RebaseArgument()Git commit --no-edit --squash==SquashArgument()', '', ft) - exe s:Map('n', 'cA', ':Git commit --edit --squash==SquashArgument()', '', ft) + exe s:Map('n', 'cn', ':Git commit --edit --squash==SquashArgument()', '', ft) + exe s:Map('n', 'cA', ':echoerr "Use cn"', '', ft) exe s:Map('n', 'c?', ':help fugitive_c', '', ft) exe s:Map('n', 'cr', ':Git revert', '', ft) diff --git a/doc/fugitive.txt b/doc/fugitive.txt index 7d5c10702f..34c861ec1c 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -487,8 +487,8 @@ cs Create a `squash!` commit for the commit under the cS Create a `squash!` commit for the commit under the cursor and immediately rebase it. -cA Create a `squash!` commit for the commit under the - cursor and edit the message. +cn Create a `squash!` commit for the commit under the +(formerly cA) cursor and edit the message. c Populate command line with ":Git commit ".