mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
Update README
This commit is contained in:
parent
74fa6ab9df
commit
0b31be49cf
25
README.md
25
README.md
@ -40,27 +40,25 @@ call plug#begin('~/.vim/plugged')
|
|||||||
" Make sure you use single quotes
|
" Make sure you use single quotes
|
||||||
Plug 'junegunn/seoul256.vim'
|
Plug 'junegunn/seoul256.vim'
|
||||||
Plug 'junegunn/vim-easy-align'
|
Plug 'junegunn/vim-easy-align'
|
||||||
|
|
||||||
|
" On-demand loading
|
||||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||||
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
|
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
|
||||||
" Plug 'user/repo1', 'branch_or_tag'
|
|
||||||
" Plug 'user/repo2', { 'rtp': 'vim/plugin/dir', 'branch': 'devel' }
|
" Using git URL
|
||||||
" Plug 'git@github.com:junegunn/vim-github-dashboard.git'
|
Plug 'https://github.com/junegunn/vim-github-dashboard.git'
|
||||||
" Plug '/my/local/vim/plugin'
|
|
||||||
" ...
|
" Plugin options
|
||||||
|
Plug 'nsf/gocode', { 'tag': 'go.weekly.2012-03-13', 'rtp': 'vim' }
|
||||||
|
|
||||||
|
" Locally-managed plugin
|
||||||
|
Plug '~/.fzf'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
```
|
```
|
||||||
|
|
||||||
Reload .vimrc and `:PlugInstall` to install plugins.
|
Reload .vimrc and `:PlugInstall` to install plugins.
|
||||||
|
|
||||||
### Plugin directory
|
|
||||||
|
|
||||||
If you omit the path argument to `plug#begin()`, plugins are installed in
|
|
||||||
`plugged` directory under the first path in `runtimepath` at the point when
|
|
||||||
`plug#begin()` is called. This is usually `~/.vim/plugged` (or
|
|
||||||
`$HOME/vimfiles/plugged` on Windows) given that you didn't touch runtimepath
|
|
||||||
before the call.
|
|
||||||
|
|
||||||
### Commands
|
### Commands
|
||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
@ -94,6 +92,7 @@ before the call.
|
|||||||
|
|
||||||
- `D` - `PlugDiff`
|
- `D` - `PlugDiff`
|
||||||
- `S` - `PlugStatus`
|
- `S` - `PlugStatus`
|
||||||
|
- `R` - Retry failed update or installation tasks
|
||||||
- `q` - Close the window
|
- `q` - Close the window
|
||||||
|
|
||||||
### Example: A small [sensible](https://github.com/tpope/vim-sensible) Vim configuration
|
### Example: A small [sensible](https://github.com/tpope/vim-sensible) Vim configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user