-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Linux Essentials - Second Edition
By :

vi was the first full-screen text editor written for Unix. It was designed to be small enough to fit on the old-fashioned, tiny, floppy-based emergency boot systems. When the GNU Project developed an open source replacement for the vi editor, they added several improvements to it and called it “vi improved,” or vim. Even though most Linux distributions ship with vim, it is still often referred to as the vi editor. vim is upward compatible with the vi editor, and the command to launch vim is typically vi—though some distributions have a vim command instead. The information presented in this chapter applies to both vi and vim.
Although the vi editor is useful for editing configuration files, it really shines in editing program files, such as shell scripts. Thus you will benefit from learning the vi editor, though it is considered by many to be the most complicated text editor to use.
To use vi, you should first understand...
Change the font size
Change margin width
Change background colour