Skip to content
Diego Lemos edited this page Sep 23, 2026 · 9 revisions

gd - go to definition
gy - go to type defitinion
gi - go to implementation
gr - find references
K - show documentation in preview window
<leader>rn - rename symbol
<leader>a - Apply codeAction to the selected region. Example: <leader>aap for current paragraph.
<leader>ac - Apply codeAction to the current buffer.
<leader>qf - apply AutoFix to problem on the current line
if - select inside function/method
af - select around function/method
ic - select inside class/struct/interface
ac - select around class/struct/interface
<C-s> - select next selection range
<C-d> - select previous selection range
<space>a - show all diagnostics
<space>o - find symbol of current document (outline)
<space>s - search workspace symbols
<leader>f - fuzzy search
\ - open file system explorer
<bar> - reveal in file system explorer
<F8> - overview file structure (tagbar)
<cr> - save by pressing
<leader>z - move to previous buffer
<leader>x - move to next buffer
<C-p> - move to previous window (overrides CtrlP's default trigger; CtrlP is mapped to f)
<leader>w= - make windows the same size
<leader>wx - swap windows
<leader>hs - split window horizontally
<leader>vs - split window vertically
<leader>sc - close window splitting
<space> - disable highlight until next search
Y - make Y consistent with C and D - see :help Y

Full list of standard shortcuts available here.

Clone this wiki locally