mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 09:00:06 +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/img/build-with-SpaceVim.svg)](https://spacevim.org)
|
[![](https://spacevim.org/img/build-with-SpaceVim.svg)](https://spacevim.org)
|
||||||
|
[![GPLv3 License](https://img.spacevim.org/license-GPLv3-blue.svg)](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/).
|
|||||||
|
|
||||||
![git-log](https://img.spacevim.org/70444048-39015900-1ad4-11ea-9522-1711c0c67098.png)
|
![git-log](https://img.spacevim.org/70444048-39015900-1ad4-11ea-9522-1711c0c67098.png)
|
||||||
|
|
||||||
|
|
||||||
## 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…
Reference in New Issue
Block a user