Neovim
Sometimes I forget how to use my own neovim configuration!
- LSP Errors in a Buffer
| Keybinding | Action |
|---|---|
| <leader>d | Show diagnostic float (popup) |
| <leader>ld | Send ALL diagnostics to quickfix list (buffer) |
| <leader>cd | Copy current line’s diagnostic to clipboard |
| ]d / [d | Jump to next/prev diagnostic |
| ]e / [e | Jump to next/prev error |
To copy errors: press <leader>ld then :copen to see them in a buffer.
- Notifications
Already installed! You have:
Snacks.nvim - <leader>nh shows notification history, <leader>nd dismisses all
Fidget.nvim - shows LSP progress in corner
Harpoon (Quick File Jumping)
Harpoon lets you “bookmark” files for instant access:
| Keybinding | Action |
|---|---|
| <leader>ha | Add current file to harpoon |
| <leader>ho | Open harpoon menu |
| <leader>hr | Remove file from harpoon |
| <leader>hc | Clear all marks |
| <leader>1-5 | Jump to file 1-5 |
- Telescope (Fuzzy Finder)
| Keybinding | Action |
|---|---|
| <leader>sf | Find files |
| <leader>sg | Live grep (search text) |
| <leader>sb | Search open buffers |
| <leader>? | Recent files |
| <leader>/ | Fuzzy search current buffer |
| gr | LSP references |
Inside Telescope: <C-j>/<C-k> to navigate, <Enter> to select.
- Leader Keys
Only Space is configured as leader: vim.g.mapleader = " " vim.g.maplocalleader = " "
Escape is not a leader key currently. Want me to set it up?
- File Tree
Oil.nvim is your file explorer:
- <leader>e - Toggle floating file explorer
It opens in a buffer where you can edit the filesystem like a text file (rename, delete, create files by editing lines).
Quick Reference Card: <Space>e → File explorer <Space>sf → Find files <Space>sg → Search text <Space>ha → Harpoon add <Space>1-5 → Jump to harpooned file <Space>d → Show error popup <Space>nh → Notification history