A powerful but tastefully minimal Neovim configuration in a single file. No plugin manager. No bloat.
Author: Radley E. Sidwell-Lewis
0.12 or latergit, ripgrep, fzf, fdgo (for efm-langserver)mkdir -p ~/.config/nvim && curl -fsSL https://raw.githubusercontent.com/radleylewis/nvim-lite/main/init.lua -o ~/.config/nvim/init.lua
Note: If you already have a Neovim config, back it up first.
Neovim 0.12 and the Treesitter CLI:
sudo pacman -S neovim tree-sitter-cli
Go (required by efm-langserver for linting and formatting):
sudo pacman -S go
LuaSnip (native C dependency for snippet expansion):
sudo pacman -S lua-jsregexp
General utilities:
sudo pacman -S git ripgrep fzf fd
LSP servers are managed via Mason. On first launch, open Neovim and run :Mason to install the servers you need.
Note:
rust_analyzeris managed automatically byrustaceanvimviarustup. Install it withrustup component add rust-analyzerrather than through Mason.
init.lua — no plugin manager, uses Neovim's native vim.packnvim-lspconfig with blink.cmp for completionefm-langserverrustaceanvimfzf-luanvim-treemini.diff and mini.git<leader>t)~/Documents/Notes/)| Key | Action |
|---|---|
<leader>e |
Toggle file tree |
<leader>ff |
Find files |
<leader>fg |
Live grep |
<leader>fb |
Buffers |
<leader>t |
Toggle floating terminal |
<leader>gd |
Go to definition |
<leader>ca |
Code action |
<leader>rn |
Rename symbol |
K |
Hover documentation |
]h / [h |
Next / previous git hunk |
<leader>hs |
Stage hunk |
<leader>hb |
Git blame |
<C-q> |
Close floating terminal |