67 lines
1.5 KiB
Markdown
67 lines
1.5 KiB
Markdown
<!-- markdownlint-disable line-length no-inline-html no-duplicate-heading -->
|
|
|
|
# 💤 LazyVim
|
|
|
|
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
|
|
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
|
|
|
|
- check latest changes
|
|
- <https://github.com/LazyVim/LazyVim/blob/main/NEWS.md>
|
|
- <https://github.com/LazyVim/LazyVim/blob/main/CHANGELOG.md>
|
|
|
|
# 📦 Plugins
|
|
|
|
To see plugins added & removed in `lazy-lock.json` since last commit or 2 days ago:
|
|
|
|
```sh
|
|
diff -U30 \
|
|
<(git show HEAD:lazy-lock.json | cut -d' ' -f-3) \
|
|
<(cut -d' ' -f-3 lazy-lock.json)
|
|
|
|
diff -U30 \
|
|
<(git show "@{2 days ago}:lazy-lock.json" | cut -d' ' -f-3) \
|
|
<(cut -d' ' -f-3 lazy-lock.json)
|
|
```
|
|
|
|
To search for mentions of removed plugins:
|
|
|
|
```sh
|
|
for plugin in $(
|
|
diff -U30 \
|
|
<(git show "@{2 days ago}:lazy-lock.json" | cut -d' ' -f-3) \
|
|
<(cut -d' ' -f-3 lazy-lock.json) |
|
|
grep '^- ' |
|
|
cut -d'"' -f2);
|
|
do echo "\n ❌ $plugin"; rg $plugin; done
|
|
```
|
|
|
|
## Noice
|
|
|
|
- `:Noice`
|
|
- `<leader>sn`
|
|
- <https://github.com/folke/noice.nvim>
|
|
- <https://www.lazyvim.org/keymaps#noicenvim>
|
|
- <https://github.com/folke/noice.nvim/wiki/A-Guide-to-Messages>
|
|
|
|
# 🛠️ Installation
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
git clone https://forge.chapril.org/michel_ouba/LazyVim.git ~/.config/nvim
|
|
cd ~/.config/nvim
|
|
direnv allow
|
|
```
|
|
|
|
## Make a backup of your current Neovim files
|
|
|
|
```sh
|
|
# required
|
|
mv ~/.config/nvim{,.bak}
|
|
|
|
# optional but recommended
|
|
mv ~/.local/share/nvim{,.bak}
|
|
mv ~/.local/state/nvim{,.bak}
|
|
mv ~/.cache/nvim{,.bak}
|
|
```
|