(info taken from http://www.cs.rit.edu/~cslab/vi.html)
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]
Screen Movement
^F move forward one screen
^U move backward one half screen
? finds a word going backward
/ finds a word going forwards
0 comments:
Post a Comment