update instructions for vim-plug

master
Michele Guerini Rocco 2018-12-01 15:28:53 +01:00
parent a4a5f42bba
commit 35bdd5df9a
Signed by: rnhmjoj
GPG Key ID: 91BE884FBA4B591A
1 changed files with 8 additions and 6 deletions

View File

@ -3,13 +3,15 @@
### Install
```shell
config=$XDG_CONFIG_HOME/nvim
plugins=$XDG_CACHE_HOME/nvim/plugins
mkdir -p $plugins
git clone https://github.com/rnhmjoj/dotvim.git $config
git clone https://github.com/VundleVim/Vundle.vim.git $plugins/Vundle.vim
plugins=$XDG_DATA_HOME/nvim/plugins
site=$XDG_DATA_HOME/nvim/site/autoload
mkdir -p $plugins $site
curl https://git.io/VgrSsw -Lo $site/plug.vim
git clone https://github.com/rnhmjoj/dotvim.git $config
```
run `nvim +'PluginInstall'`
run `nvim +PlugInstall`
### Update
run `nvim +'PluginInstall!'`
run `nvim +PlugUpdate`