Title here
Summary here
| Keys | Motion |
|---|---|
h j k l | left, down, up, right |
w / b | next / previous word |
0 / $ | start / end of line |
gg / G | top / bottom of file |
{n}G | go to line n |
f{char} | jump onto the next char in the line |
{ / } | previous / next paragraph |
| Keys | Action |
|---|---|
i / a | insert before / after the cursor |
o / O | open a line below / above |
dd yy | delete / yank the line |
p / P | paste after / before |
ciw | change inner word |
. | repeat the last change |
u / <C-r> | undo / redo |
r{char} | replace the character under the cursor |
ggdG | delete the whole file |
:%s/a/b/g | substitute across the whole file |
| Keys / cmd | Action |
|---|---|
:e {file} | edit a file |
:w :q :wq :q! | write / quit / both / force-quit |
<C-w>s / <C-w>v | split horizontal / vertical |
<C-w>o | close every other window |
Leader is <space>. Families, as configured in the
course repo:
| Keys | Action |
|---|---|
<leader><space> | smart file picker |
<leader>fg | live grep the project |
<leader>e | file explorer |
]h / <leader>hp | next hunk / preview hunk |
<leader>gg | lazygit |
<leader>gd | diffview |
<leader>db / dc / do / dt | breakpoint / continue / step over / terminate |
<leader>ta / tf / ts | run all tests / file / summary panel |
<leader>xx | trouble diagnostics panel |
<leader>z | zen mode |
gcc | toggle comment |
gS | split / join arguments |
grn / grr / gd | LSP rename / references / definition |
K | hover documentation |
grn rename · gra code action · grr references · gri implementation ·
gO document symbols · [d / ]d diagnostic jump · K hover