$
end of line0
Start of the line{
/}
Jump to next / previous paragraph.
dw
Deletes the next wordd3w
Deletes 3 wordsd$
Delets until the end of linedi(
Deletes inside the(
. Can be replace with any other char"
,{
, etc..-
d%
does the same thing
dd
Deletes the entire line2dd
Deletes 2 lines
u
Reverts the last changeU
Reverts the entire line/
Search-
n
move to the next
-
N
move to the last
r
Replaces the character under the cursorci(
Changes the text inside(
and enters insert mode. Can be replace with any other char"
,{
, etc..-
c%
does the same thing
ce
Changes until the end of word.
G
Bottom of the filegg
Start of the file[#]G
Jump to line[#]
%
Move the corresponding(
,[
,{
- za: Toggle code folding at the current line. The block that the current line belongs to is folded (closed) or unfolded (opened).
- zo: Open fold.
- zc: Close fold.
- zR: Open all folds.
- zM: Close all folds.
- cs"': Change surround from
"
to'
- ds": Delete surround
"
- ysw": Add "" around w