commit 46358f87e7ee41999ed01c08df55663e18da88e6 (tree)
parent 7e53b2aef971fedbcf8661597d900ee9b55bf19b
Author: Tim Pope <code@tpope.net>
Date: Fri, 20 Aug 2021 18:48:59 -0400
Fix U in status window
Must have fat fingered this at the last second. I mean, I forgot the
<C-U>, but I most definitely did not forget the colon.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -2592,7 +2592,7 @@ function! fugitive#BufReadStatus() abort
call s:Map('x', 's', ":<C-U>execute <SID>Do('Stage',1)<CR>", '<silent>')
call s:Map('n', 'u', ":<C-U>execute <SID>Do('Unstage',0)<CR>", '<silent>')
call s:Map('x', 'u', ":<C-U>execute <SID>Do('Unstage',1)<CR>", '<silent>')
- call s:Map('n', 'U', "Git --no-pager reset -q<CR>", '<silent>')
+ call s:Map('n', 'U', ":<C-U>Git --no-pager reset -q<CR>", '<silent>')
call s:MapMotion('gu', "exe <SID>StageJump(v:count, 'Untracked', 'Unstaged')")
call s:MapMotion('gU', "exe <SID>StageJump(v:count, 'Unstaged', 'Untracked')")
call s:MapMotion('gs', "exe <SID>StageJump(v:count, 'Staged')")