Skip to content

Keymaps

Baru edited this page Aug 28, 2026 · 1 revision

Keymaps

Leader key is Space. All tables below are current as of this repo's main branch — if in doubt, the source of truth is lua/core/keybinds.lua and the individual files under lua/plugins/.

General

Key Action
<leader>a Select all
<leader>m Open dashboard (alpha)
< / > (visual) Indent left/right, keeps selection

Tabs & buffers

Key Action
<leader>t New tab
<leader>x Close tab
<leader>j / <leader>k Next / previous tab
<Tab> / <S-Tab> Next / previous buffer
<leader>q Close current buffer
<leader>fb Fuzzy-pick from open buffers

Splits

Key Action
<leader>v Vertical split
<leader>s Horizontal split
<C-Left> / <C-Right> Resize split
<C-w>h/j/k/l Move focus between splits (Neovim default)

File explorer & finding

Key Action
<leader>e Toggle nvim-tree sidebar
<leader>ff Find files
<leader>fw Live grep
<leader>fh Find help tags
<leader>fo Recent files
<leader>fd Buffer diagnostics (fzf)
<leader>fc Find files in your Neovim config

Inside nvim-tree (its own defaults): Enter/o open, a create, d delete, r rename, x/p cut/paste, R refresh, H toggle hidden files, q close, ? show all keymaps.

Fast motion

Key Action
s Flash jump — label-based jump anywhere on screen
S Flash Treesitter jump
r (operator-pending) Remote Flash
R (operator/visual) Treesitter search

Harpoon (pin your working set of files)

Key Action
<leader>ha Pin current file
<leader>hh Open Harpoon quick-menu
<leader>1<leader>4 Jump to pinned file 1–4

Sessions

Key Action
<leader>Ss Restore session for this directory
<leader>Sl Restore last session
<leader>Sd Stop saving session for this buffer

LSP

Active once a language server attaches to the current buffer:

Key Action
gd Go to definition
gD Go to declaration
gi Go to implementation
gr Find references (via fzf-lua)
K Hover docs
<C-k> (insert) Signature help
<leader>lr Rename symbol
<leader>la Code action
<leader>ls / <leader>lw Document / workspace symbols
<leader>lf Format buffer (works even without an attached LSP)
<leader>ld Line diagnostics (float)
[d / ]d Previous / next diagnostic

Diagnostics list (Trouble)

Key Action
<leader>dd Workspace diagnostics
<leader>dw Buffer diagnostics
<leader>dq Quickfix list
<leader>dt TODO list

Completion popup (blink.cmp)

Key Action
<C-space> Open popup / toggle docs
<Up>/<Down> or <C-p>/<C-n> Move selection
<C-y> Accept selected item
<C-e> Close popup without accepting
<Tab>/<S-Tab> Jump forward/backward through snippet placeholders

Git

Key Action
<leader>gg Git status (fugitive)
<leader>gb Git branches (fzf)
]h / [h Next / previous hunk
<leader>gp Preview hunk
<leader>gs Stage hunk
<leader>gr Reset hunk
<leader>gB Blame line

Markdown

Key Action
<leader>pp Toggle markdown preview (opens in browser)

Clone this wiki locally