English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

its something like a text editor ,and what r its feauture,modes of operation and advantages......

need an answer that is easy to learn.....and also dont give me the bestest link jusss gimeee the simple and good information......

2007-02-21 07:41:37 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

"vi" is an old text editor used in Unix and Linux systems. It has two modes:
1. escape mode - a mode used for saving the file, quiting the editor, and manipulate the text.
Main functions:
* To save the file type ':w'.
* To quit type ':q'.
* To quit without saving use ':q!'
* To save and quit type ':wq'
* To save as 'foo.txt' use ':w foo.txt'
* To switch to 'insert mode type 'i','a','o' or 'O'.

2. insert mode - for typing text.
To switch to escape mode press the Esc key.

To switch from

2007-02-21 07:56:29 · answer #1 · answered by Amit Y 5 · 0 0

vi = VIsual editor

Yes, it is a text editor designed to work across many different terminals. It is NOT a GUI editor. It is purely text based and uses keyboard commands for editing.

For example,

vi myfile

will open the file named myfile in the editor. From there, you have many, many commands to use:

i - insert text
o - open a line
G = file status
$ = end of line

and tons more

2007-02-21 07:50:26 · answer #2 · answered by BigRez 6 · 0 0

The vi editor is a modal-based textual content fabric editor. the excellent element approximately gaining know-how of it quite is that it quite is going to likely be put in on any *nix OS ninety 9% of the time. Its significant downside is the steep gaining know-how of curve which after somewhat some prepare you are able to harness its potential. :g/function/,/go out/s;^;// ;g This one liner will remark each and every of the strains between a line that has the be conscious "function" and a line that has the be conscious "go out" via including "// " on the beginning up of those strains. attempt to try this throughout your fashionable IDE or notepad.

2016-12-17 15:36:55 · answer #3 · answered by ? 4 · 0 0

This editor is not for the novice. You need commands just to start inserting text. Check the link below for basic commands

2007-02-21 08:21:30 · answer #4 · answered by Anonymous · 0 0

If your just starting out, try 'pico' instead. It is a little easier to pick up.

2007-02-21 11:08:20 · answer #5 · answered by rsmith985 3 · 0 0

fedest.com, questions and answers