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
|
### Install
|
||||||
```shell
|
```shell
|
||||||
config=$XDG_CONFIG_HOME/nvim
|
config=$XDG_CONFIG_HOME/nvim
|
||||||
plugins=$XDG_CACHE_HOME/nvim/plugins
|
plugins=$XDG_DATA_HOME/nvim/plugins
|
||||||
mkdir -p $plugins
|
site=$XDG_DATA_HOME/nvim/site/autoload
|
||||||
git clone https://github.com/rnhmjoj/dotvim.git $config
|
mkdir -p $plugins $site
|
||||||
git clone https://github.com/VundleVim/Vundle.vim.git $plugins/Vundle.vim
|
|
||||||
|
|
||||||
|
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
|
### Update
|
||||||
run `nvim +'PluginInstall!'`
|
run `nvim +PlugUpdate`
|
||||||
|
Loading…
Reference in New Issue
Block a user