Vi and vim Editor (14): vim Overview

Source: Internet
Author: User

Vi and vim Editor (14): vim Overview

Vim refers to "vi improved", that is, the ultimate version of vi. Currently, vim may be the most widely used similar vi product.


Author and brief history:

Vim is written by Bram Moolenaar and assisted by others. Therefore, vim can grow and change accordingly with the demands of the computer industry and text editing, and maintain its own value. Today's vim is one of the most comprehensive Class vi editors, with a wealth of online help.

Comparison with vi:

Vim is more widely accepted than vi, because some versions of vim are available for almost all operating systems, and vi is only applicable to UNIX or UNIX-like systems. Vi is the original version, but vim implements all vi functions and provides many easy-to-use and powerful extension functions, including syntax extension, programmer assistance, graphical user interface functions, script writing and plug-in programs, initialization, Session Context, post-processing, state conversion, transparent editing, metadata, black hole registers, and keyword completion. Vim can also return to the vi-compatible mode by setting the compatible option.

Obtain vim:

If the operating system is a UNIX-Like operating system, vim may have been installed. If vim is not installed on your operating system, manually install vim.

Obtain vim in UNIX and GNU/Linux:

Now many UNIX environments have installed a certain version of vim. Most GNU/Linux release packages link the default vi location "/bin/vi" to the vim executable file. However, there are many variants of UNIX, and there are also many releases of GNU/Linux. If your UNIX-Like operating system does not install vim, You need to download the vim source code package, and compile and install it.

Obtain vim in Windows:

For Windows operating systems, the most convenient way to use vim is to install gvim on your own. Another method is to install Cygwin, a tool kit for porting commonly used GNU tools to Windows. vim is the standard configuration for Cygwin installation.

For how to obtain vim on Mac OS or other operating systems, refer to the vim official website.

It should be noted that vim is a free software and charityware ). If you are using vim, enter ": help uganda" to learn more.

Summary of the vi commands in this chapter:

This chapter introduces the differences between vim and vi, as well as the methods for obtaining vim on various operating systems.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.