From 46358f87e7ee41999ed01c08df55663e18da88e6 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 20 Aug 2021 18:48:59 -0400 Subject: [PATCH] Fix U in status window Must have fat fingered this at the last second. I mean, I forgot the , but I most definitely did not forget the colon. --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index ecc586a..0c44359 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2592,7 +2592,7 @@ function! fugitive#BufReadStatus() abort call s:Map('x', 's', ":execute Do('Stage',1)", '') call s:Map('n', 'u', ":execute Do('Unstage',0)", '') call s:Map('x', 'u', ":execute Do('Unstage',1)", '') - call s:Map('n', 'U', "Git --no-pager reset -q", '') + call s:Map('n', 'U', ":Git --no-pager reset -q", '') call s:MapMotion('gu', "exe StageJump(v:count, 'Untracked', 'Unstaged')") call s:MapMotion('gU', "exe StageJump(v:count, 'Unstaged', 'Untracked')") call s:MapMotion('gs', "exe StageJump(v:count, 'Staged')")