LazyVim¶
- Website/Docs
- "LazyVim is a Neovim setup powered by 💤 lazy.nvim to make it easy to customize and extend your config."
- Github
- LazyVim for Ambitious Developers
- folke/dot Folkes dotfiles, incl. lazyvim config
- Varacs dotfiles nvim config
- based on LazyVim
- Plugin location:
~/.local/share/nvim/lazy/
Getting started¶
Install dependencies:
Start a fresh LazyVim install:
export NVIM_APPNAME=nvim-lazyvim-clean
git clone https://github.com/LazyVim/starter ~/.config/${NVIM_APPNAME}
rm -rf ~/.config/${NVIM_APPNAME}/.git
nvim
Config¶
Local / per-project config¶
Add a .lazy.nvim config file
From :h vim.secure.read():
The user's choice is persisted in a trust database at $XDG_STATE_HOME/nvim/trust
Key bindings¶
Commonly used key bindings:
- Neotest
- enable Neotest test extra
- grug-far
- Search and replace plugin
- Invoke grug-far with
<leader>sr(<space>sr) - Trigger replace:
<localleader>r(\r)
Projects¶
- LazyVim util/project extra uses project.nvim for project management
- Last commit 2023-04
project.nvimis configured withmanual_mode = true, so no projects are automatically added- When in a projectRoot, save project with
:ProjectRoot