mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 01:09:56 +08:00
docs(git): update README
This commit is contained in:
parent
79d7fabd0e
commit
26e7f66fcd
@ -1,20 +1,35 @@
|
|||||||
# git.vim
|
# git.vim
|
||||||
|
|
||||||
|
> _git.vim_ is a plugin to use _git_ command in vim and neovim.
|
||||||
|
|
||||||
[](https://spacevim.org)
|
[](https://spacevim.org)
|
||||||
|
[](LICENSE)
|
||||||
Use git in SpaceVim
|
|
||||||
|
|
||||||
This plugin adds extensive support for [git](https://git-scm.com/).
|
|
||||||
|
|
||||||
<!-- vim-markdown-toc GFM -->
|
<!-- vim-markdown-toc GFM -->
|
||||||
|
|
||||||
- [usage](#usage)
|
- [Install](#install)
|
||||||
|
- [Usage](#usage)
|
||||||
- [Screenshot](#screenshot)
|
- [Screenshot](#screenshot)
|
||||||
- [Feedback](#feedback)
|
- [Feedback](#feedback)
|
||||||
|
|
||||||
<!-- vim-markdown-toc -->
|
<!-- vim-markdown-toc -->
|
||||||
|
|
||||||
## usage
|
## Install
|
||||||
|
|
||||||
|
1. Using `git.vim` in SpaceVim:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[[layers]]
|
||||||
|
name = 'git'
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Using `git.vim` without SpaceVim:
|
||||||
|
|
||||||
|
```
|
||||||
|
Plug 'wsdjeg/git.vim'
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
- `:Git add %`: stage current file.
|
- `:Git add %`: stage current file.
|
||||||
- `:Git add .`: stage all files
|
- `:Git add .`: stage all files
|
||||||
@ -53,7 +68,6 @@ This plugin adds extensive support for [git](https://git-scm.com/).
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Feedback
|
## Feedback
|
||||||
|
|
||||||
The development of this plugin is in [`SpaceVim/bundle/git.vim`](https://github.com/SpaceVim/SpaceVim/tree/master/bundle/git.vim) directory.
|
The development of this plugin is in [`SpaceVim/bundle/git.vim`](https://github.com/SpaceVim/SpaceVim/tree/master/bundle/git.vim) directory.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user