A Powerful but Tastefully Minimal NeoVim Configuration.
nvim-lite
A powerful but tastefully minimal Neovim configuration in a single file. No plugin manager. No bloat.
Author: Radley E. Sidwell-Lewis
Requirements
- Neovim
0.12or later - A Nerd Font (FiraCode Nerd Font recommended)
git,ripgrep,fzf,fdgo(forefm-langserver)
Installation
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.
Dependencies
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.
Features
- Single
init.luaโ no plugin manager, uses Neovim's nativevim.pack - Treesitter syntax highlighting and folding
- LSP via
nvim-lspconfigwithblink.cmpfor completion - Linting and formatting via
efm-langserver - Rust support via
rustaceanvim - Fuzzy finding via
fzf-lua - File tree via
nvim-tree - Git integration via
mini.diffandmini.git - Floating terminal (
<leader>t) - Obsidian note-taking support (optional, requires
~/Documents/Notes/) - Custom statusline with mode, branch, filetype and file size indicators
- Transparent background
Keymaps
| 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 |