main
diff and gitcommit cover commit buffers and diff output. cpp, kotlin and nix were formatted by conform with no parser installed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nvim-config
Personal Neovim config, built on NvChad v2.5 and managed with lazy.nvim.
It is shaped around agent-driven development: most code arrives from a coding
agent, so the editor is tuned for reading, navigating and reviewing rather than
for typing volume. Concretely, that means no inline AI completion, no
format-on-save, and buffers that reload themselves when a file changes on disk
(lua/autocmds.lua).
Install
git clone https://git.naps.pt/naps62/nvim-config ~/.config/nvim
nvim
Plugins install on first launch. Tested on Neovim 0.12.
External dependencies
fzf, ripgrep, bat, yazi, and delta. Language servers and formatters
are expected on $PATH — see lua/configs/lspconfig.lua and
lua/configs/conform.lua for the list.
Keymaps
Leader is <Space>. NvChad's defaults apply except where overridden in
lua/mappings.lua.
Navigation
| Key | Action |
|---|---|
<C-p> |
Find files |
<C-f> |
Live grep |
<C-g> |
Git status |
<leader>b |
Buffers |
<leader>fo |
Old files |
<leader>fz |
Find in current buffer |
<leader>fh |
Help tags |
<leader>ma |
Marks |
<leader>y / <leader>Y |
Yazi at current file / cwd |
LSP
| Key | Action |
|---|---|
gd / gv |
Definitions, in place / in a vertical split |
gr |
References |
ga |
Code actions (previewed) |
<leader>rn |
Rename |
<leader>fm |
Format buffer or selection |
Diagnostics
| Key | Action |
|---|---|
<leader>xx / <leader>xX |
Diagnostics, workspace / buffer |
<leader>dn / <leader>dp |
Next / previous diagnostic |
<leader>o |
Symbol outline |
<leader>xt |
TODO comments |
Git
| Key | Action |
|---|---|
<leader>g |
Neogit |
<leader>cm |
Git commits |
]c / [c |
Next / previous hunk |
<leader>hp |
Preview hunk |
<leader>hr |
Reset hunk |
<leader>hb |
Blame line |
<leader>hd |
Diff buffer against index |
co / ct / cb / c0 |
Resolve conflict: ours / theirs / both / none |
Editing
| Key | Action |
|---|---|
; |
Enter command mode |
jj / jk |
Leave insert mode |
<C-s> |
Save |
<leader>q |
Close window |
<leader>, |
Clear search highlight |
<C-space> |
Expand treesitter selection |
Languages
Lua
100%