home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Learning the vi Editor

Learning the vi EditorSearch this book
Previous: 10.12 Sources and Supported Operating Systems Chapter 11 Next: 11.2 Important Command-Line Arguments
 

11. vim -- vi Improved

vim stands for "Vi Improved." It was written by Bram Moolenaar, who continues to maintain it. Today, vim is perhaps the most widely used vi clone, and there exists a separate Internet domain (vim.org ) dedicated to it. Various versions of vim were used for most of the work updating this book; much of the later work was done with Version 5.0. Version 5.1 became current as the updates were finishing; this is mostly a bug fix release.

11.1 Author and History

This section is adapted from material supplied by Bram Moolenaar, vim 's author. We thank him.

Work on vim started when the author bought an Amiga computer. Coming from the UNIX world, he started using a vi -like editor called stevie . But it was far from perfect. Fortunately, it came with the source code. This is where work on vim started. At first it was a matter of making the editor more vi compatible and fixing bugs. After a while the program became very usable, and vim Version 1.14 was published on Fred Fish disk 591 (a collection of free software for the Amiga).

Other people began to use the program, liked it, and started helping development. A port to UNIX was done, then later to MS-DOS and other systems. vim became one of the most widely available vi clones. More features were added gradually: multi-level undo, multiwindowing, etc. Some features were unique to vim , but many were inspired by other vi clones. The goal has always been to provide the best for the user.

Today vim is one of the most full-featured of the vi -style editors anywhere. The online help is extensive. (It is described in more detail below.)

One of the more obscure features of vim is to be able to type from right to left. This is useful for languages like Hebrew and Farsi. This illustrates vim 's versatility. In Version 5.0 the vi compatibility was also improved, and the performance was further tuned. Being a rock-stable editor, on which professional software developers can rely, is another of vim 's design goals. Crashing with vim is rare, and when it happens you can recover your changes.

The development on vim continues. Plans for vim 6.0 include support for folding (being able to hide part of the text, e.g., the body of a function). The group of people helping to add features and port vim to more platforms is growing. The quality of the ports to different computer systems is increasing. The MS-Windows version will get dialogues and a file-selector. This opens up the hard-to-learn vi commands to a large group of users.


Previous: 10.12 Sources and Supported Operating Systems Learning the vi Editor Next: 11.2 Important Command-Line Arguments
10.12 Sources and Supported Operating Systems Book Index 11.2 Important Command-Line Arguments

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










??????????????@Mail.ru