mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 23:00:04 +08:00
Update doc for git layer
This commit is contained in:
parent
34fa2a9a49
commit
d78cd78dac
37
docs/layers/git.md
Normal file
37
docs/layers/git.md
Normal file
@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "SpaceVim git layer"
|
||||
---
|
||||
|
||||
# [SpaceVim Layers:](https://spacevim.org/layers) git
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [Description](#description)
|
||||
- [Features](#features)
|
||||
- [Install](#install)
|
||||
- [Layer](#layer)
|
||||
- [Key bindings](#key-bindings)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## Description
|
||||
|
||||
This layers adds extensive support for [git](http://git-scm.com/).
|
||||
|
||||
### Features
|
||||
|
||||
## Install
|
||||
|
||||
### Layer
|
||||
|
||||
To use this configuration layer, add `call SpaceVim#layers#load('git')` to your custom configuration file.
|
||||
|
||||
## Key bindings
|
||||
|
||||
| Key Binding | Description |
|
||||
| -------------- | ---------------------- |
|
||||
| `<Leader> g a` | git add current file |
|
||||
| `<Leader> g A` | git add All files |
|
||||
| `<Leader> g b` | open git blame window |
|
||||
| `<Leader> g s` | open git status window |
|
||||
| `<Leader> g c` | open git commit window |
|
Loading…
Reference in New Issue
Block a user