mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-10 04:23:46 -05:00
Replace cA map with cn
Following Magit's lead. References: https://github.com/tpope/vim-fugitive/pull/2369
This commit is contained in:
@@ -7926,7 +7926,8 @@ function! s:MapGitOps(is_ftplugin) abort
|
|||||||
exe s:Map('n', 'cF', ':<C-U><Bar>Git -c sequence.editor=true rebase --interactive --autosquash<C-R>=<SID>RebaseArgument()<CR><Home>Git commit --fixup=<C-R>=<SID>SquashArgument()<CR>', '', ft)
|
exe s:Map('n', 'cF', ':<C-U><Bar>Git -c sequence.editor=true rebase --interactive --autosquash<C-R>=<SID>RebaseArgument()<CR><Home>Git commit --fixup=<C-R>=<SID>SquashArgument()<CR>', '', ft)
|
||||||
exe s:Map('n', 'cs', ':<C-U>Git commit --no-edit --squash=<C-R>=<SID>SquashArgument()<CR>', '', ft)
|
exe s:Map('n', 'cs', ':<C-U>Git commit --no-edit --squash=<C-R>=<SID>SquashArgument()<CR>', '', ft)
|
||||||
exe s:Map('n', 'cS', ':<C-U><Bar>Git -c sequence.editor=true rebase --interactive --autosquash<C-R>=<SID>RebaseArgument()<CR><Home>Git commit --no-edit --squash=<C-R>=<SID>SquashArgument()<CR>', '', ft)
|
exe s:Map('n', 'cS', ':<C-U><Bar>Git -c sequence.editor=true rebase --interactive --autosquash<C-R>=<SID>RebaseArgument()<CR><Home>Git commit --no-edit --squash=<C-R>=<SID>SquashArgument()<CR>', '', ft)
|
||||||
exe s:Map('n', 'cA', ':<C-U>Git commit --edit --squash=<C-R>=<SID>SquashArgument()<CR>', '', ft)
|
exe s:Map('n', 'cn', ':<C-U>Git commit --edit --squash=<C-R>=<SID>SquashArgument()<CR>', '', ft)
|
||||||
|
exe s:Map('n', 'cA', ':<C-U>echoerr "Use cn"<CR>', '<silent><unique>', ft)
|
||||||
exe s:Map('n', 'c?', ':<C-U>help fugitive_c<CR>', '<silent>', ft)
|
exe s:Map('n', 'c?', ':<C-U>help fugitive_c<CR>', '<silent>', ft)
|
||||||
|
|
||||||
exe s:Map('n', 'cr<Space>', ':Git revert<Space>', '', ft)
|
exe s:Map('n', 'cr<Space>', ':Git revert<Space>', '', ft)
|
||||||
|
|||||||
@@ -487,8 +487,8 @@ cs Create a `squash!` commit for the commit under the
|
|||||||
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.
|
cursor and immediately rebase it.
|
||||||
|
|
||||||
cA Create a `squash!` commit for the commit under the
|
cn Create a `squash!` commit for the commit under the
|
||||||
cursor and edit the message.
|
(formerly cA) cursor and edit the message.
|
||||||
|
|
||||||
c<Space> Populate command line with ":Git commit ".
|
c<Space> Populate command line with ":Git commit ".
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user