diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index cacd32e..8b820b2 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1845,6 +1845,7 @@ call s:command("-bar -bang -nargs=? -complete=customlist,s:DirComplete Glcd :exe " Section: :Gstatus call s:command("-bar -bang -range=-1 Gstatus :execute s:Status(0, , '')") +call s:command("-bar -bang -range=-1 G :execute s:Status(0, , '')") augroup fugitive_status autocmd! if !has('win32') diff --git a/doc/fugitive.txt b/doc/fugitive.txt index dd9ca36..3e86781 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -29,9 +29,9 @@ that are part of Git repositories). *fugitive-:Glcd* :Glcd [directory] |:lcd| relative to the repository. - *fugitive-:Gstatus* -:Gstatus Bring up the output of git-status in the preview - window. The following maps, which work on the cursor + *fugitive-:Gstatus* *fugitive-:G* +:Gstatus Bring up a git-status inspired summary in the preview +:G window. The following maps, which work on the cursor line file where sensible, are provided: g? show this help @@ -40,7 +40,6 @@ that are part of Git repositories). |:Gedit| - |:Git| add - |:Git| reset (staged files) - a Show alternative format ca |:Gcommit| --amend cc |:Gcommit| ce |:Gcommit| --amend --no-edit