From 644dab6ed38cd4040292febcd465048a5bf53f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Tue, 25 Oct 2022 21:38:59 +0200 Subject: [PATCH] Update README for merlin --- README.md | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e158509..e0e2efe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # My [AstroNvim](https://github.com/AstroNvim/AstroNvim) config -## How to install my config +## How to install my config on merlin - First you have to install AstroNvim - Backup your previous nvim config @@ -23,18 +23,44 @@ git clone https://github.com/jiriks74/astronvim_config ~/.config/nvim/lua/user ``` - - For NeoVim < 8.0 use `neovim7.2` branch - - ```bash - git clone -b neovim7.2 https://github.com/jiriks74/astronvim_config ~/.config/nvim/lua/user - ``` - - Open nvim and run `:PackerSync` + - **This will result in errors as `merlin` kills most of the clone processes** + - To make this work you need to press `R` (yes, capital) to download all the + failed downloads + - You have to do this until all plugins have been successfully downloaded ```bash nvim +PackerSync ``` +## Updating + +```bash +cd ~/.config/nvim +git pull +cd lua/user +git pull +``` + +- To update the plugins you need to first remove all the downloaded plugins +(or plugin downloading will fail) + +```bash +rm -rf ~/.local/share/nvim +``` + +- Then you need to repeat the process as if you were initializing AstroNvim for +the first time: + - Open nvim and run `:PackerSync` + - **This will result in errors as `merlin` kills most of the clone processes** + - To make this work you need to press `R` (yes, capital) to download all the + failed downloads + - You have to do this until all plugins have been successfully downloaded + + ```bash + nvim +PackerSync + ``` + ## Useful info - Folding with treesitter