VI Text Editor

2 Conversations


VI is the visual interface for EX1. The close link between these two programs is more useful that one thinks, because if the bad gets worse, VI will switch into EX-mode when your terminal settings are broken so badly only EX can still work. This means that if your UNIX terminal breaks down because of a bad configuration, you will be able to kludge the configuration files to get the usual display facilities back.

VI - a definition


Vi (visual) is a display oriented interactive text editor. When using vi the screen of your terminal acts as a window into the file which you are editing. Changes which you make to the file are reflected in
what you see.

William Joy in An Introduction to Display Editing with Vi

William Joy is the author of VI

Why learn to use VI?


  • Like many powerful tools, VI is somewhat difficult to learn if you want to get all the power out of it. It is quite easy to learn rapidly how to type text, save it or make simple editing tasks. But if you have complex editing to do that e.g. you could not achieve with Notepad (if you are using Windows), VI can be the solution to your problems.


  • VI can be configured to suit your needs. You like indentation in your program files? No problem, you can set how much each block has to be indented and you can even indent a group of lines with one command only! You can also define macro's to complete your typing (that comes in very handy when you have to close all these HTML-tags)


  • VI has a very complete set of possibilities for search and replace actions (look at a good tutorial for that and other aspects of VI)


  • VI is present on nearly every operating system/machine, and doesn't need long customization before you can get to work with it: look at the list of free domain/shareware programs.

1A line-editor2 originally for UNIX2Program editing text where you cannot operate directly on characters or words but only on lines (which means for example there is a command to delete a line but not to delete a word inside a line)

Bookmark on your Personal Space


Entry

A279515

Infinite Improbability Drive

Infinite Improbability Drive

Read a random Edited Entry


Written and Edited by

References

h2g2 Entries

External Links

Not Panicking Ltd is not responsible for the content of external internet sites

Disclaimer

h2g2 is created by h2g2's users, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the Not Panicking Ltd. Unlike Edited Entries, Entries have not been checked by an Editor. If you consider any Entry to be in breach of the site's House Rules, please register a complaint. For any other comments, please visit the Feedback page.

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more