Vim, the editor


(click anywhere on page or use keyboard arrow to continue)

Other text editors

Your typical editor works like this...

Vim is different

Vim has modes

Normal
for almost everything except typing!
Insert
for typing
Visual
for highlighting a region to operate on
(and others you don't need to know about)

The keyboard is your friend

For the impatient

Normal mode

Now that you've seen that you can actually type in vim, let's learn about the magic of Normal mode!

Moving around ("motions")

Stepping

Moving around ("motions")

Jumping

Insert

Delete (really, this is "cut")

Copy and paste

Search and replace

Do-overs!

Extras

Saving and quitting

Tabs

Basic editing

Operators and repetition

Yank & paste

Searching

Marks & macros