====== Vim Plug ====== * [[https://github.com/junegunn/vim-plug|vim-plug]] 간편한 Vim Plugin Manager. [[vim:vundle|Vim Vundle]] 대체. * see [[vim:packagemanager|Vim Package Manager]] ===== 자동 설치 vim 설정 ===== if empty(glob('~/.vim/autoload/plug.vim')) silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif ===== non-interactive Plug Install ===== * [[https://github.com/junegunn/vim-plug/issues/675|Run PlugInstall non-interactively from command line · Issue #675 · junegunn/vim-plug]] vim +'PlugInstall --sync' +qa * ''+'' 는 ''-c''와 같다. ===== 참조 ===== * [[https://github.com/junegunn/vim-plug/wiki/tips|vim-plug tips]]