Linux Study notes fourth week third class (February 28)

Source: Internet
Author: User
5.5 Entering edit mode


Enter edit mode, press I (insert at cursor), I (move to the beginning of the line), O (the next line of the cursor is inserted), O (the line of the cursor is inserted), a (after the cursor is inserted), a (move to the end of the line inserted);


5.6 VIM Command mode

Shift+n upward search;

In the specified range, the command is: n1,n2s/word1/word2/g,s to replace; G for all, global globally; $ denotes all, entire document;

If the replacement character contains/characters, it will be in/before, add \ de-meaning, or the words separated by #;

: Nohl does not highlight string no high light;

: x save exit, do not change mtime;

: Wq save exit, will change mtime;


5.7 Vim Practice





Linux Study notes fourth week third class (February 28)

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.