You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leader = Space. In the tables below, <leader> means press Space then the given keys.
General
Keys
Action
<Esc>
Clear search highlight
<leader>f
Format current buffer (conform, falls back to LSP)
LSP (active once a language server attaches to a buffer)
Keys
Action
gd
Go to definition
gD
Go to declaration
gi
Go to implementation
gr
Go to references
K
Hover documentation
<C-k>
Signature help (insert mode)
<leader>rn
Rename symbol
<leader>ca
Code action
[d / ]d
Previous / next diagnostic
<leader>e
Show diagnostic in floating window
<leader>q
Diagnostics to location list
File explorer
Keys
Action
<leader>pv
Toggle file tree
<leader>pf
Focus file tree
Telescope (search)
Keys
Action
<leader><leader>
Find open buffers
<leader>sf
Search files
<leader>sg
Live grep (search text in project)
<leader>sw
Search current word under cursor
<leader>sh
Search help tags
<leader>sk
Search keymaps
<leader>ss
Search Telescope's own pickers
<leader>sd
Search diagnostics
<leader>sr
Resume last search
<leader>s.
Recent files
<leader>st
Search TODO comments
Motion (flash.nvim)
Keys
Action
s
Flash jump (normal/visual/operator mode)
S
Flash treesitter jump (jump to a syntax node)
r (operator-pending)
Remote flash (act on a target without moving there first)
R
Treesitter search
⚠️s/S are remapped from Vim's default "substitute character" behavior.
If you rely on s/S for substitution, let me know and I'll rebind flash to
something like <leader>j/<leader>k instead.
Windows & buffers
Keys
Action
<C-h/j/k/l>
Move between windows
<C-Up/Down/Left/Right>
Resize window
<S-l> / <S-h>
Next / previous buffer
<leader>bd
Delete (close) buffer
Terminal
Keys
Action
<leader>ts
Toggle terminal
<leader>th
Horizontal terminal
<leader>tv
Vertical terminal
<leader>tf
Floating terminal
<leader>tg
Toggle lazygit
<leader>tp
Toggle Python REPL
<C-n> (in terminal mode)
Toggle terminal from inside it
<C-h/j/k/l> (in terminal mode)
Move to another window
Git diff (diffview.nvim)
Keys
Action
<leader>gd
Open diff view
<leader>gh
File history for current file
<leader>gc
Close diff view
Editing
Keys
Action
</> (visual mode)
Indent, staying in visual mode
<A-j> / <A-k>
Move selected line(s) down/up
p (visual mode)
Paste without overwriting register
J / K (visual/select mode)
Move selection down/up
5. Notes
Trailing whitespace is stripped on save for all filetypes except Markdown and diff
files (where trailing spaces can be meaningful).
Format-on-save is enabled by default (via conform.nvim) for the filetypes listed in the
requirements table above — if you don't have the relevant formatter binary installed,
it silently no-ops for that filetype rather than erroring.
Run :Lazy any time to see plugin status, updates, or profiling info.
Run :Mason any time to manage installed LSP servers.