Linux Vim Operation Tips

Source: Internet
Author: User

· The important principle of Linux design is that information is stored in text-based files

Text file: Unformatted file, function similar to win's registry (etc under Configuration file,. conf or no extension) Extensible Markup Language (XML), text tag definition data structure (etc and USR under application configuration file)

Pros: Move and share between systems no conversion format is required and can be viewed and edited by any text editor

• Text Editor

VI Editor: Early use of Linux and UNIX systems editor

Vim Editor: VI's upgraded version, with higher availability and efficiency

Includes advanced features such as split-screen editing, color formatting, and highlighting

• Working mode of the text editor

Command mode: Vim open the relevant configuration file, that is, to enter the command mode, can be copied delete paste and other operations

Insert mode: Press A, I, O and other keys into the insert mode, you can modify the body, or add new content (the page will show the--insert--status prompt information)

Last line mode: Press: Key to enter, you can set the editing environment, save, exit, find, replace the content, etc. (the page will be displayed: status prompt information)

Note: The above is commonly used

Visual mode: Press V to enter, where you can select more than one character for text operation, using CTRL + V, v.

Common operations:

Linux Vim Operation Tips

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.