Add :G as alias for :Gstatus
This commit is contained in:
parent
40e8d0b9f0
commit
4c7998f58c
@ -1845,6 +1845,7 @@ call s:command("-bar -bang -nargs=? -complete=customlist,s:DirComplete Glcd :exe
|
|||||||
" Section: :Gstatus
|
" Section: :Gstatus
|
||||||
|
|
||||||
call s:command("-bar -bang -range=-1 Gstatus :execute s:Status(<bang>0, <count>, '<mods>')")
|
call s:command("-bar -bang -range=-1 Gstatus :execute s:Status(<bang>0, <count>, '<mods>')")
|
||||||
|
call s:command("-bar -bang -range=-1 G :execute s:Status(<bang>0, <count>, '<mods>')")
|
||||||
augroup fugitive_status
|
augroup fugitive_status
|
||||||
autocmd!
|
autocmd!
|
||||||
if !has('win32')
|
if !has('win32')
|
||||||
|
@ -29,9 +29,9 @@ that are part of Git repositories).
|
|||||||
*fugitive-:Glcd*
|
*fugitive-:Glcd*
|
||||||
:Glcd [directory] |:lcd| relative to the repository.
|
:Glcd [directory] |:lcd| relative to the repository.
|
||||||
|
|
||||||
*fugitive-:Gstatus*
|
*fugitive-:Gstatus* *fugitive-:G*
|
||||||
:Gstatus Bring up the output of git-status in the preview
|
:Gstatus Bring up a git-status inspired summary in the preview
|
||||||
window. The following maps, which work on the cursor
|
:G window. The following maps, which work on the cursor
|
||||||
line file where sensible, are provided:
|
line file where sensible, are provided:
|
||||||
|
|
||||||
g? show this help
|
g? show this help
|
||||||
@ -40,7 +40,6 @@ that are part of Git repositories).
|
|||||||
<CR> |:Gedit|
|
<CR> |:Gedit|
|
||||||
- |:Git| add
|
- |:Git| add
|
||||||
- |:Git| reset (staged files)
|
- |:Git| reset (staged files)
|
||||||
a Show alternative format
|
|
||||||
ca |:Gcommit| --amend
|
ca |:Gcommit| --amend
|
||||||
cc |:Gcommit|
|
cc |:Gcommit|
|
||||||
ce |:Gcommit| --amend --no-edit
|
ce |:Gcommit| --amend --no-edit
|
||||||
|
Loading…
Reference in New Issue
Block a user