From 395d94764438571380ecccba4186ea0a11b35053 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 20 Oct 2019 15:34:08 -0400 Subject: [PATCH] Force --no-edit on squash maps References https://github.com/tpope/vim-fugitive/pull/1378 --- autoload/fugitive.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index c04c447..53bd6ca 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -5609,8 +5609,8 @@ function! fugitive#MapJumps(...) abort nnoremap cRw :Gcommit --reset-author --amend --only nnoremap cf :Gcommit --fixup==SquashArgument() nnoremap cF :Grebase --autosquash=RebaseArgument()Gcommit --fixup==SquashArgument() - nnoremap cs :Gcommit --squash==SquashArgument() - nnoremap cS :Grebase --autosquash=RebaseArgument()Gcommit --squash==SquashArgument() + nnoremap cs :Gcommit --no-edit --squash==SquashArgument() + nnoremap cS :Grebase --autosquash=RebaseArgument()Gcommit --no-edit --squash==SquashArgument() nnoremap cA :Gcommit --edit --squash==SquashArgument() nnoremap c? :help fugitive_c