mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-10 20:43:46 -05:00
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.
This commit is contained in:
@@ -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('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('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('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, 'Untracked', 'Unstaged')")
|
||||||
call s:MapMotion('gU', "exe <SID>StageJump(v:count, 'Unstaged', 'Untracked')")
|
call s:MapMotion('gU', "exe <SID>StageJump(v:count, 'Unstaged', 'Untracked')")
|
||||||
call s:MapMotion('gs', "exe <SID>StageJump(v:count, 'Staged')")
|
call s:MapMotion('gs', "exe <SID>StageJump(v:count, 'Staged')")
|
||||||
|
|||||||
Reference in New Issue
Block a user