- Install by:
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- Config it by adding below lines to file
~/.vimrc
:
" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')
" Declare the list of plugins.
Plug 'ollykel/v-vim' " this is syntax highlight for VLang
" List ends here. Plugins become visible to Vim after this call.
call plug#end()
- Restart vim, and run from vim with "PlugInstall", then check the result with "PlugStatus"