From 35bdd5df9abf49ab1639e2dcfac5a5917fd41c01 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 1 Dec 2018 15:28:53 +0100 Subject: [PATCH] update instructions for vim-plug --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index caff2a8..631c55a 100644 --- a/README.md +++ b/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`