Neovim Configuration
Commands
- •
/nvim- Show overview - •
/nvim plugins- List installed plugins - •
/nvim keys- Show key keybindings - •
/nvim add <plugin>- Help add a plugin
Config Location
~/.config/nvim/init.lua (symlinked from ~/.dotfiles/shared/nvim/.config/nvim/)
Stack
- •Base: kickstart.nvim
- •Plugin manager: lazy.nvim
Key Plugins
| Plugin | Purpose | Key Binding |
|---|---|---|
| nvim-tree | File explorer | <leader>e |
| telescope | Fuzzy finder | <leader>sf (files), <leader>sg (grep) |
| treesitter | Syntax highlighting | automatic |
| mason + lspconfig | LSP support | automatic |
| lazygit.nvim | Git TUI | <leader>gg |
| tokyonight | Color scheme | automatic |
To List Plugins (/nvim plugins)
Read ~/.config/nvim/init.lua and extract plugins from the lazy.setup() call.
To Add a Plugin (/nvim add <plugin>)
- •Edit
~/.dotfiles/shared/nvim/.config/nvim/init.lua - •Add plugin spec to the lazy.setup plugins table:
lua
{ 'author/plugin-name', opts = {} }, - •Open nvim, run
:Lazy install
Troubleshooting
- •Plugins not loading: Open nvim, run
:Lazy - •LSP not working: Run
:LspInfo, check:Masonfor servers - •Health check: Run
:checkhealthin nvim