Random Goodness

Thursday, November 1, 2007

vi commands

A few commands for the vi editor.
(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

Posted by Mike Marcucio at 7:03 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

My Links

  • TotalLeague.com - Create a Free Website
  • Marcucio Gardens

Blog Archive

  • ►  2008 (6)
    • ►  February (1)
    • ►  January (5)
  • ▼  2007 (3)
    • ▼  November (3)
      • vi commands
      • MySQL Problems
      • Linux Shortcuts

About Me

Mike Marcucio
View my complete profile