This is a draft cheat sheet. It is a work in progress and is not finished yet.
Movemement
e |
to end of word |
w |
forward to beginning of next word |
3w |
forward 3 words |
b |
backward to beginning of next word |
ß |
end of line |
0 |
beginning of line |
^^ |
first non-black char of line |
)/( |
forward/back one sentence |
ö/ä |
forward/back one paragraph |
G |
end of file |
gg |
beginning of file |
% |
to the corresponding ({[...]}) |
ü |
to definition (by ctags) |
Ü |
back from definition |
,a |
switch header <-> source |
|
|
Awesome
,f |
Open file (CtrlP) |
,cf |
clang-format |
,gc |
git add + commit |
,gp |
git push |
,gd |
git diff |
,gs |
git status |
Edit
,u |
switch case WORD |
,U |
switch case LINE |
~ |
switch case CHAR |
J |
join line with next one |
Search & Replace
* |
Search same word under cursor |
:%s/this/that/g |
Replace this by that whole file |
|