1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 23:49:19 +08:00

doc(layer): update :h SpaceVim-layers-git

This commit is contained in:
Shidong Wang 2021-09-28 23:02:09 +08:00
parent 77d57270c4
commit d604674a95
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848
2 changed files with 34 additions and 0 deletions

View File

@ -22,7 +22,24 @@
" name = 'git'
" git_plugin = 'git'
" <
" @subsection Key bindings
"
" The following key bindings will be definded when the `git` layer is loaded.
" >
" Key Binding Description
" SPC g s view git status
" SPC g S stage current file
" SPC g U unstage current file
" SPC g c edit git commit
" SPC g p git push
" SPC g m git branch manager
" SPC g d view git diff
" SPC g A stage all files
" SPC g b open git blame windows
" SPC g h a stage current hunk
" SPC g h r undo cursor hunk
" SPC g h v preview cursor hunk
" <
if exists('s:git_plugin')

View File

@ -1578,7 +1578,24 @@ is `git`, the following plugins are supported: `gina`, `fugitive` and `gita`.
name = 'git'
git_plugin = 'git'
<
KEY BINDINGS
The following key bindings will be definded when the `git` layer is loaded.
>
Key Binding Description
SPC g s view git status
SPC g S stage current file
SPC g U unstage current file
SPC g c edit git commit
SPC g p git push
SPC g m git branch manager
SPC g d view git diff
SPC g A stage all files
SPC g b open git blame windows
SPC g h a stage current hunk
SPC g h r undo cursor hunk
SPC g h v preview cursor hunk
<
==============================================================================
GITHUB *SpaceVim-layers-github*