Ok, much easier for me then.
In Vi, you start in command mode.
Put your cursor where you want to do the edit, and press "i" to get into edit mode.
Make your changes, and press "esc" to get back in command mode.
Do every changes you want, and when you are done, get in command mode and do:
to save your file, and
to quit vi.
A quick reference commands (always to type in command mode, and case sensitive):
Quote:
17G [enter] => go to the line nbr 17
/any [enter] => search for the word "any"
:u [enter] => undo
dd [enter] => delete the line under the cursor
G [enter] => goes to the last line of the file
|
__________________
Listen to the ducky: "This is awesome!!!"
Last edited by tripy : 09-26-2007 at 11:05 AM.
|