How to conf

First offer you my heartfelt thanks on the operating system wonderful FreeBSD. What are the keyboard shortcuts by which I can move to add a new line?

FREEBSD-A001.jpg


===============================================================

Second, what are the keyboard shortcuts or keys by which to move pointer to the write end of the page to write wq.

FREEBSD-B001.jpg
 
Read the man page: vi(1)

Look for "insert mode" (aka, the letter i) and escaping to "control mode" (aka ESC).

Better yet, forget vi exists, and just use ee(1). :) You'll be better off for it. vi needs to die.
 
If you install vim located at editors/vim-lite it should have a program called vimtutor. when you invoke it it will teach you enough vi to be useful to you.

As pheonix mentioned ee() is there for people just starting. It may be a good scaffold for you until you get your vi() bearings.

Good luck!
 
Back
Top