Ubuntu installation Vim

Source: Internet
Author: User

1.sudo Apt-get Install VIM-GTK

2. Configure VIM:

Open the VIMRC file with sudo vim/etc/vim/vimrc and then modify it:

Then Save:

VI Three modes of operation
Command mode, for entering commands
Insert (insert) mode, for inserting text
Visual (visual) mode, which is used to highlight and select the body of the viewport

For example, press I to enter the insert mode, when the characters are entered, press ESC first, back to command mode and press
Shift Plus: (two keys pressed together)

Appears in the lower left corner: (colon)

And then enter
: Wq
Save exit

How to use Vim Link: http://www.cnblogs.com/itech/archive/2009/04/17/1438439.html

Ubuntu installation Vim

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: info-contact@alibabacloud.com 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.