Requires neovim >= 0.11.x
sudo pacman -S --needed neovim nodejs npm tree-sitter-cliClipboard (pick one):
# Wayland
sudo pacman -S wl-clipboard
# X11
sudo pacman -S xclipbrew install neovim node tree-sitter ripgrepClipboard works out of the box (uses pbcopy/pbpaste).
mkdir -p ~/.config/nvim
cp init.lua ~/.config/nvim/
nvimOn first launch:
- Plugins install automatically via lazy.nvim
- LSPs install automatically via Mason (uses npm for pyright, typescript-language-server, etc.)
- Treesitter parsers install automatically
This repo also includes a repo-managed Zed backup configuration under zed/.
Use that setup if you want a practical Vim-friendly fallback editor with similar search, LSP, formatting, and pane-navigation workflows, while keeping this Neovim config as the primary setup.
The Zed workflow is intentionally not a literal Neovim keymap port, Python uses Zed-native tooling, Typst PDF generation is terminal-driven with typst compile / typst watch, Markdown filepath completion is still a known gap, and long lines are visually soft-wrapped to the editor width by default.
See zed/README.md for the actual Zed-native workflow and tradeoffs.
| Keymap | Action |
|---|---|
<Space>sf |
Search files |
<Space>sg |
Live grep (search text) |
<Space>sw |
Search word under cursor |
<Space>/ |
Fuzzy search in current buffer |
<Space><Space> |
Switch buffers |
<Space>mp |
Markdown preview toggle |
<Space>tp |
Typst preview toggle |
<Space>f |
Format buffer |
<Space>th |
Toggle inlay hints |
gcc |
Comment out selection |
grd |
Go to definition |
grr |
Go to references |
grn |
Rename symbol |
gra |
Code action |
