update instructions for vim-plug
This commit is contained in:
parent
a4a5f42bba
commit
35bdd5df9a
14
README.md
14
README.md
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user