Learning the vi Editor

Learning the vi EditorSearch this book
Previous: E.2 Amaze Your Friends!Appendix E
vi and the Internet
Next: E.4 vi Quotes
 

E.3 Tastes Great, Less Filling

We can't discuss vi as part of UNIX culture without acknowledging what is perhaps the longest running debate in the UNIX community,[2] vi versus emacs.

[2] OK, it's really a religious war, but we're trying to be nice. (The other religious war, BSD vs. System V, was settled by POSIX. System V won, although BSD received significant concessions. :-))

Discussions about which is better have cropped up on comp.editors (and other newsgroups) for years and years. You will find summaries of some of these discussions in the ftp archives described above. You will find pointers to more recent versions on the web pages.

Some of the better arguments in favor of vi are:

To be complete, two more items should be mentioned. First, there are actually two versions of emacs that are popular: the original GNU emacs, and xemacs, which is derived from an earlier version of GNU emacs. Both have advantages and disadvantages, and their own sets of devotees.[3]

[3] Who undoubtedly share a joint distaste for vi! :-)

Second, while GNU emacs has always had vi-emulation packages, until recently, they have not been very good. This has changed. The "viper mode" is reputed to be an excellent vi emulation. It can serve as a bridge for learning emacs for those who are interested in doing so.

To conclude, always remember that you are the final judge of a program's utility. You should use the tools that make you the most productive, and for many tasks, vi and its clones are excellent tools.


Previous: E.2 Amaze Your Friends!Learning the vi EditorNext: E.4 vi Quotes
E.2 Amaze Your Friends!Book IndexE.4 vi Quotes

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System