Vi Command

Thursday, 25 June 2009, 23:19 | Category : Uncategorized
Tags :

General Startup
To use vi: vi filename
To exit vi and save changes: ZZ or :wq
To exit vi without saving changes: :q!
To enter vi command mode: [esc]

Counts
A number preceding any vi command tells vi to repeat
that command that many times.

Cursor Movement

h [...]