I used Vundle
when using vim, but I found bit more great plugin installer - Plug
.
Easy to install.
When using vim,
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
When using neovim
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Usage
here’s my example plugs
call plug#begin('~/.vim/plugged')
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
call plug#end()
Go into command mode using :
and put commands
# install plugins
:PlugInstall [name...]
# update plugins
:PlugUpdate [name...]
# remove unused plugins
:PlugClean
# other commands
:PlugUpgrade # upgrade plug itself
:PlugStatus
:PlugDiff
:PlugSnapshot
'tools > vim' 카테고리의 다른 글
Vim tab usage (0) | 2018.02.24 |
---|---|
Install papercolor in vim (0) | 2018.02.23 |
Vim: searching include slash (0) | 2018.02.14 |
맥(OSX )에서 ctags 설치 및 vim ctags 사용 (2) | 2018.02.04 |
Vim 에서 quote, unquote 하기 (따옴표) (2) | 2018.02.03 |