Fix :Gstatus U map

This commit is contained in:
Tim Pope 2019-08-15 17:52:38 -04:00
parent 6a04e875f8
commit 03361373b1

View File

@ -1812,7 +1812,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', 'n', 'U', ":exe <SID>EchoExec('reset', '-q')<CR>", '<silent>')
call s:Map('n', 'U', ":exe <SID>EchoExec('reset', '-q')<CR>", '<silent>')
call s:MapEx('gu', "exe <SID>StageJump(v:count, 'Untracked', 'Unstaged')")
call s:MapEx('gU', "exe <SID>StageJump(v:count, 'Unstaged', 'Untracked')")
call s:MapEx('gs', "exe <SID>StageJump(v:count, 'Staged')")