LazyVim/README.md
2024-06-04 15:31:50 +02:00

1.5 KiB

💤 LazyVim

A starter template for LazyVim. Refer to the documentation to get started.

📦 Plugins

To see plugins added & removed in lazy-lock.json since last commit or 2 days ago:

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:

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

🛠️ Installation

TL;DR

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

# required
mv ~/.config/nvim{,.bak}

# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}