From 03361373b16d7c159699214293ee13ce7e5a814a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 15 Aug 2019 17:52:38 -0400 Subject: [PATCH] Fix :Gstatus U map --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 44bb8f6..a5cdba6 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1812,7 +1812,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', 'n', 'U', ":exe EchoExec('reset', '-q')", '') + call s:Map('n', 'U', ":exe EchoExec('reset', '-q')", '') call s:MapEx('gu', "exe StageJump(v:count, 'Untracked', 'Unstaged')") call s:MapEx('gU', "exe StageJump(v:count, 'Unstaged', 'Untracked')") call s:MapEx('gs', "exe StageJump(v:count, 'Staged')")