Update doc
This commit is contained in:
parent
9e9655f947
commit
b84c7094fd
1 changed files with 16 additions and 21 deletions
37
README.md
37
README.md
|
@ -3,32 +3,27 @@ vim-plug
|
|||
|
||||
Vim plugin manager.
|
||||
|
||||
Why?
|
||||
----
|
||||
### Why?
|
||||
|
||||
Because I can?
|
||||
|
||||
Pros.
|
||||
-----
|
||||
### Pros.
|
||||
|
||||
- Marginally simpler
|
||||
- Parallel installation/update (requires +ruby)
|
||||
- Alternative directory structure: user/repo/branch
|
||||
|
||||
Cons.
|
||||
-----
|
||||
### Cons.
|
||||
|
||||
Everything else.
|
||||
|
||||
Usage
|
||||
-----
|
||||
### Usage
|
||||
|
||||
Download plug.vim and put it in ~/.vim/autoload
|
||||
|
||||
```sh
|
||||
mkdir -p ~/.vim/autoload
|
||||
curl -fL -o ~/.vim/autoload/plug.vim \
|
||||
https://raw.github.com/junegunn/vim-plug/master/plug.vim
|
||||
curl -fL -o ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim
|
||||
```
|
||||
|
||||
Edit your .vimrc
|
||||
|
@ -42,18 +37,18 @@ Plug 'junegunn/vim-easy-align'
|
|||
" ...
|
||||
```
|
||||
|
||||
Then :PlugInstall to install plugins. (default: ~/.vim/plugged)
|
||||
You can change the location of the plugins with plug#init(path) call.
|
||||
Then :PlugInstall to install plugins. (Default plugin directory: `~/.vim/plugged`)
|
||||
|
||||
Commands
|
||||
--------
|
||||
You can change the location of the plugins with `plug#init(path)` call.
|
||||
|
||||
| Command | Argument | Description |
|
||||
| ----------- | ---------- | ------------------------- |
|
||||
| PlugInstall | [#threads] | Install plugins |
|
||||
| PlugUpdate | [#threads] | Install or update plugins |
|
||||
| PlugClean | | Remove unused directories |
|
||||
| PlugUpgrade | | Upgrade vim-plug itself |
|
||||
### Commands
|
||||
|
||||
(#threads default = number of plugins)
|
||||
| Command | Description |
|
||||
| ---------------------- | ------------------------- |
|
||||
| PlugInstall [#threads] | Install plugins |
|
||||
| PlugUpdate [#threads] | Install or update plugins |
|
||||
| PlugClean | Remove unused directories |
|
||||
| PlugUpgrade | Upgrade vim-plug itself |
|
||||
|
||||
(Default #threads = Number of plugins)
|
||||
|
||||
|
|
Loading…
Reference in a new issue