Personal note on A Byte of Vim by @swaroopch
Command | Action |
---|---|
:e hello.txt |
New or edit file on save |
i |
Inset mode |
<Esc> |
Normal mode |
:w |
Save |
:q |
Quit |
i |
Insert on cursor |
a |
Insert after cursor |
I |
Insert at line beginning |
A |
Insert at line end |
o |
Insert new line below |
O |
Insert new line above |
w |
Move to next word beginning |
e |
Move to next word end |
} |
Move to next paragragh |
fs |
Find next s |
34j |
Move down 34 lines |
ctrl + o |
Move back one step |