mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
Created Using Packer (markdown)
parent
f34a89f13b
commit
82f2f412cd
1 changed files with 35 additions and 0 deletions
35
Using-Packer.md
Normal file
35
Using-Packer.md
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[Packer](https://github.com/wbthomason/packer.nvim) manages your
|
||||||
|
installed plugins. Any time you make changes to your list of plugins in
|
||||||
|
\~/.config/nvim/lua/plugins.lua you must first run the command
|
||||||
|
:PackerCompile then :PackerInstall. \#\# Packer commands
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
-- You must run this or `PackerSync` whenever you make changes to your plugin configuration
|
||||||
|
:PackerCompile
|
||||||
|
|
||||||
|
-- Only install missing plugins
|
||||||
|
:PackerInstall
|
||||||
|
|
||||||
|
-- Update and install plugins
|
||||||
|
:PackerUpdate
|
||||||
|
|
||||||
|
-- Remove any disabled or unused plugins
|
||||||
|
:PackerClean
|
||||||
|
|
||||||
|
-- Performs `PackerClean` and then `PackerUpdate`
|
||||||
|
:PackerSync
|
||||||
|
|
||||||
|
-- View the status of your plugins
|
||||||
|
:PackerStatus
|
||||||
|
```
|
||||||
|
|
||||||
|
## Packer reports missing plugins
|
||||||
|
|
||||||
|
If you get an error message about missing plugins and the above commands
|
||||||
|
do not work, remove the plugin directory and reinstall from scratch.
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
rm -rf ~/.local/share/nvim/site
|
||||||
|
:PackerCompile
|
||||||
|
:PackerInstall
|
||||||
|
```
|
Loading…
Reference in a new issue