From d3666b8d51307cc7210aa8854ac5aafb18904b86 Mon Sep 17 00:00:00 2001 From: Dario Ernst Date: Sat, 7 Mar 2020 13:08:51 +0100 Subject: [PATCH] Automate nvim first install of plugins --- nvim/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nvim/README.md b/nvim/README.md index 6e7d11e..0e8a11f 100644 --- a/nvim/README.md +++ b/nvim/README.md @@ -3,9 +3,7 @@ Starting * Install all deps `apt update ; apt install neovim python3-neovim fzy ripgrep exuberant-ctags` * Start `vi` (or `nvim`) -* Upgrade plugin / plugs: `:PlugUpgrade` ⇒ `:PlugInstall` ⇒ `:PlugUpdate` -* Upgrade remote-exts: `:UpgradeRemotePlugins` -* Install COC stuff: for i in coc-[css,docker,eslint,git,gitignore,html,json,yaml,pairs,python,sh,tsserver,prettier]: `:CocInstall $i` +* Perform initial setup of plugins and modules `nvim -n -c "PlugUpgrade | PlugInstall | q | PlugUpdate | q | q" && nvim -n -c "CocInstall -sync coc-css coc-docker coc-eslint coc-git coc-gitignore coc-html coc-json coc-yaml coc-pairs coc-python coc-sh coc-tsserver coc-prettier | CocUpdateSync | UpdateRemotePlugins | q"` Useful Shortcuts ====