1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 15:00:06 +08:00
SpaceVim/docs/layers/git.md
Wang Shidong 1472a549c6
Doc: improve SpaceVim doc (#1758)
* Update shell layer doc

* Update script for update layer index

* Update script for update layer index

* Update colorscheme layer doc

* Update autocomplete layer doc

* Update checkers layer doc

* Update chinese layer doc

* Update chat layer doc

* Update faq

* Update VersionControl layer doc

* Update help file

* Update cscope layer doc

* Use cn group

* Update debug layer doc

* Update ctrlp layer doc

* Update default layer doc

* Improve the community page

* Improve the community page

* Update default layer doc

* Update denite layer doc

* Update git layer doc

* Update ui layer doc

* Update tags layer doc

* Update leaderf layer doc

* Update fzf layer doc

* Update unite layer doc

* Update tools layer doc

* Update index

* Update tools#dash layer doc

* Update lsp layer doc

* Update faq
2018-05-27 13:05:57 +08:00

41 lines
946 B
Markdown

---
title: "SpaceVim git layer"
description: "This layers adds extensive support for git"
---
# [SpaceVim Layers:](https://spacevim.org/layers) git
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
- [Key bindings](#key-bindings)
<!-- vim-markdown-toc -->
## Description
This layers adds extensive support for [git](http://git-scm.com/).
## Install
To use this configuration layer, add following snippet to your custom configuration file.
```toml
[[layers]]
name = "git"
```
## Key bindings
| 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 d` | view git diff |
| `SPC g A` | stage all files |
| `SPC g b` | open git blame windows |