Differences Between Vi and Emacs
The most important differences between vi and Emacs are presented in the following table:
vi | Emacs | |
---|---|---|
Keystroke execution | vi editing retains each permutation of typed keys. This creates a path in the decision tree which unambiguously identifies any command. | Emacs commands are key combinations for which modifier keys are held down while other keys are pressed; a command gets executed once completely typed. This still forms a decision tree of commands, but not one of individual keystrokes. |
Memory usage and customizability | Historically, vi is a smaller and faster program, however with less capacity for customization. | Emacs takes longer to start up and requires more memory. However, it is highly customizable and includes a large number of features, as it is essentially an execution environment for a Lisp program designed for text-editing. |
User environment | vi was originally exclusively used inside of a text-mode console, offering no graphical user interface (GUI). Most modern vi derivatives, e.g. MacVim and gVim, include full-featured GUIs. | Emacs, while also initially designed for use on a console, grew a GUI fairly early on. |
Function/navigation interface | vi uses distinct editing modes. | Emacs uses metakey chords. |
Read more about this topic: Editor War
Famous quotes containing the words differences between and/or differences:
“The extent to which a parent is able to see a childs world through that childs eyes depends very much on the parents ability to appreciate the differences between herself and her child and to respect those differences. Your own children need you to accept them for who they are, not who you would like them to be.”
—Lawrence Balter (20th century)
“I may be able to spot arrowheads on the desert but a refrigerator is a jungle in which I am easily lost. My wife, however, will unerringly point out that the cheese or the leftover roast is hiding right in front of my eyes. Hundreds of such experiences convince me that men and women often inhabit quite different visual worlds. These are differences which cannot be attributed to variations in visual acuity. Man and women simply have learned to use their eyes in very different ways.”
—Edward T. Hall (b. 1914)