Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Vi


#REDIRECT Otheruses

vi is a screen-oriented text editor computer program written by Bill Joy in 1976 for an early BSD release. The name comes from the shortest unambiguous abbreviation for the command visual in ex. (Which is ). The command in question switches the line editor ex to visual mode.

Typically, as a matter of convenience, the same program will start up in vi or ex mode, depending on the name with which it is started. "vi" is an initialism; pronounced letter by letter as [ ], but generally not as a word, as [ vaI ], and never like the Roman number VI (i.e., "six").

vi can frustrate new users, because it is a modal editor. A modal editor (or any modal program) assigns different meanings to buttons or keystrokes depending on which editing mode is active. The two major modes of editing in vi are "insert" and "command" mode. In insert mode, text typed is inserted into the document normally. Pressing the escape key while in insert mode will switch the editor to command mode. When in command mode, each letter corresponds to a cursor movement or editing function (for example, "j" to move down a line, "k" to move up a line, "x" to delete a character, and "i" to return to insert mode). Keys pressed while in command mode are not inserted into the text, which is probably the most common cause for confusion among new users.

An advantage of having a separate command mode is that multiple editing operations can be performed in a row with very simple keystrokes, without having to hold down the , , or other special modifier keys. The more complicated editing operations are strung together from simple primitives (for example, "dw" to delete a word, or "c2fa" to change text from the cursor until finding the second "a"). For experienced users, this can lead to faster work. It also means that the user's hands never need to leave the home row of the keyboard.

Early versions of vi did not give any indication as to which mode they were in, and it is typical of users to simply press the Escape key to ensure that the editor is in command mode (it will beep if already in command mode). Current versions of vi indicate the mode on the status line or graphically. Graphical implementations of vi (for example, gvim) also fully support the use of a mouse and menus to access editing commands.

vi became the de facto standard Unix editor and a nearly undisputed hacker favorite outside of MIT until the rise of EmacsThis article is about the text editor. For the Apple Macintosh computer model, see eMac. Emacs is a text editor with a comprehensive set of features that is particularly popular with programmers and other technical computer users. The original Emacs was w after about 1984This page is about the year 1984. For other uses of 1984, see 1984 (disambiguation). 1984 is a leap year starting on Sunday (link shows calendar). Events January January 1 Brunei becomes a fully independent state January 1 AT&T is broken up into 22 indepe. As of 20022002 is a common year starting on Tuesday (see link for calendar). 2002 was the first palindromic year since 1991 and the last until 2112. 2002 was also designated: International Year of Ecotourism and Mountains National Science Year in the United Kingdom either vi or one of its clones can still be found on nearly all installations of Unix (the Single UNIX SpecificationThe Single UNIX Specification SUS is the collective name of a family of standards for computer operating systems to qualify for the name " Unix". The SUS is developed and maintained by the Austin Group, based on earlier work by the IEEE and The Open Group specifies vi, so any system conforming to the Single UNIX Specification will have vi).

It is still widely used by users of Unix variants (about half the respondents in a 19911991 like 2002, is a palindromic year. It also has the same calendar as 2002, including Easter on March 31. It is a common year starting on Tuesday. Events January January 2 Sharon Pratt Dixon is sworn in as mayor of Washington, DC becoming the first blac USENETUsenet or Unix User Network is a communications medium in which users read and post textual messages (called "articles") to a number of distributed newsgroups (incorrectly called bulletin boards because of their similarity for the unaware observer). The m poll preferred it). It starts up faster than the bulkier versions of Emacs and uses less memory. Consequently, even some Emacs fans will resort to it as a mail editor and for small editing jobs. When a "rescue floppy" is being built for restores following a hard drive crash, vi is often the editor chosen because it is compact enough to fit on a floppy, and because almost anyone performing rescue operations will be able to use it.

vi and EmacsThis article is about the text editor. For the Apple Macintosh computer model, see eMac. Emacs is a text editor with a comprehensive set of features that is particularly popular with programmers and other technical computer users. The original Emacs was w are classically the two sides in the editor warThe hacker community has a tradition of treating their favorite text editor with a reverence bordering on religious fanaticism. Many flame wars have been fought between groups insisting that their editor of choice is the paragon of editing perfection, ands.

vi was written in Evans Hall at the University of California, Berkeley.



Read more »

Non User