Neovim

Sometimes I forget how to use my own neovim configuration!

  1. LSP Errors in a Buffer
KeybindingAction
<leader>dShow diagnostic float (popup)
<leader>ldSend ALL diagnostics to quickfix list (buffer)
<leader>cdCopy current line’s diagnostic to clipboard
]d / [dJump to next/prev diagnostic
]e / [eJump to next/prev error

To copy errors: press <leader>ld then :copen to see them in a buffer.

  1. 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:

KeybindingAction
<leader>haAdd current file to harpoon
<leader>hoOpen harpoon menu
<leader>hrRemove file from harpoon
<leader>hcClear all marks
<leader>1-5Jump to file 1-5
  1. Telescope (Fuzzy Finder)
KeybindingAction
<leader>sfFind files
<leader>sgLive grep (search text)
<leader>sbSearch open buffers
<leader>?Recent files
<leader>/Fuzzy search current buffer
grLSP references

Inside Telescope: <C-j>/<C-k> to navigate, <Enter> to select.

  1. 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?

  1. 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