Vimtutor Lessons

h → to left

l → to right

j → to down

k → to up

x → delete the text cursor is on

A → go to the end of the line and add something but can’t delete before

Lesson 2

dw → delete word

d$ → delete everything right of the cursor

Many commands that change text are made from an operator and a motion. The format for a delete command with the d delete operator is as follows:

d motion

w → go to next words start

e → go to next words end

number can be written to these

3w → go 3 words forward

2e → go 2 words forward but end

d2w → delete 3 words forward

dd → delete the whole line

2dd → delete the 2 whole line

u → undo

U → undo the whole sentence

CTRL+R → redo the command