mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update packer-related instructions
This commit is contained in:
@@ -205,9 +205,10 @@ directory, and run the following command to install this configuration:
|
||||
git clone --depth=1 https://github.com/jdhao/nvim-config.git .
|
||||
```
|
||||
|
||||
After that, when we first open nvim, run command `:PackerInstall` to install
|
||||
all the plugins. Since I use quite a lot of plugins (more than 60), it may take
|
||||
some time to install all of them, depending on your network condition.
|
||||
After that, when we first open nvim, run command `:PackerSync` to install all
|
||||
the plugins and generate `packer_compiled.lua`. Since I use quite a lot of
|
||||
plugins (more than 60), it may take some time to install all of them, depending
|
||||
on your network condition.
|
||||
|
||||
# Automatic installation
|
||||
|
||||
|
||||
@@ -212,6 +212,6 @@ git clone --depth=1 https://hub.fastgit.org/wbthomason/packer.nvim \
|
||||
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||
|
||||
echo "Installing plugins"
|
||||
"$NVIM_DIR/bin/nvim" +PackerInstall +qall
|
||||
"$NVIM_DIR/bin/nvim" +PackerSync +qall
|
||||
|
||||
echo "Finished installing Nvim and its dependencies!"
|
||||
|
||||
Reference in New Issue
Block a user