parent
69d6c9d545
commit
2653f4bdfd
13
README.md
13
README.md
|
@ -22,7 +22,7 @@ A minimalist Vim plugin manager.
|
||||||
[nv]: http://neovim.org/
|
[nv]: http://neovim.org/
|
||||||
[startup-time]: http://junegunn.kr/images/vim-startup-time.png
|
[startup-time]: http://junegunn.kr/images/vim-startup-time.png
|
||||||
|
|
||||||
### Usage
|
### Installation
|
||||||
|
|
||||||
[Download plug.vim](https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim)
|
[Download plug.vim](https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim)
|
||||||
and put it in ~/.vim/autoload
|
and put it in ~/.vim/autoload
|
||||||
|
@ -32,7 +32,15 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
```
|
```
|
||||||
|
|
||||||
Edit your .vimrc
|
### Usage
|
||||||
|
|
||||||
|
Add a vim-plug section to your .vimrc:
|
||||||
|
|
||||||
|
1. Begin the section with `plug#begin()`
|
||||||
|
1. List the plugins with `Plug` commands
|
||||||
|
1. `plug#end()` to add the plugins to `&runtimepath`
|
||||||
|
|
||||||
|
#### Example
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
@ -60,6 +68,7 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' }
|
||||||
" Unmanaged plugin (manually installed and updated)
|
" Unmanaged plugin (manually installed and updated)
|
||||||
Plug '~/my-prototype-plugin'
|
Plug '~/my-prototype-plugin'
|
||||||
|
|
||||||
|
" Add plugins to &runtimepath
|
||||||
call plug#end()
|
call plug#end()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
1
plug.vim
1
plug.vim
|
@ -33,6 +33,7 @@
|
||||||
" " Unmanaged plugin (manually installed and updated)
|
" " Unmanaged plugin (manually installed and updated)
|
||||||
" Plug '~/my-prototype-plugin'
|
" Plug '~/my-prototype-plugin'
|
||||||
"
|
"
|
||||||
|
" " Add plugins to &runtimepath
|
||||||
" call plug#end()
|
" call plug#end()
|
||||||
"
|
"
|
||||||
" Then reload .vimrc and :PlugInstall to install plugins.
|
" Then reload .vimrc and :PlugInstall to install plugins.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user