Skip to content

radleylewis/nvim-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.12 or later
  • A Nerd Font (FiraCode Nerd Font recommended)
  • git, ripgrep, fzf, fd
  • go (for efm-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_analyzer is managed automatically by rustaceanvim via rustup. Install it with rustup component add rust-analyzer rather than through Mason.

Features

  • Single init.lua — no plugin manager, uses Neovim's native vim.pack
  • Treesitter syntax highlighting and folding
  • LSP via nvim-lspconfig with blink.cmp for 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.diff and mini.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

About

A Powerful but Tastefully Minimal NeoVim Configuration.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages