See below the basic you should (me anyway) need to get started with vi.
I usually use vim(vi improved) but in some Sun servers, you may have only vi available.
Move the cursor to the left one character position
Move the cursor down one line.
Move the cursor up one line.
Move the cursor to the right one character position.
Delete the character before the cursor.
Delete character under the cursor. A count tells how many characters to delete. The characters will be deleted after the cursor.
Enter insert mode, the characters typed in will be inserted after the current cursor position. A count inserts all the text that had been inserted that many times.
Enter insert mode, the characters typed in will be inserted before the current cursor position. A count inserts all the text that had been inserted that many times.
You can find the above
here
No comments:
Post a Comment