Linux Editor vim keyboard detailed

Source: Internet
Author: User

The following picture, a look to understand, from now on, learning becomes no longer difficult!

Fill in the note:
There is no search and replace in the figure, which should be used below.
Top-down lookup operations/word lowercase n and N
Bottom-up lookup operations? Word lowercase N and N
Normal Replace operation: S/old/new
The current line is matched and replaced, and the command replaces all of the first matching characters in the current line with all of the substitution operations: s/old/new/g
The current row replaces all matching strings in the row area for substitution operations: #, #s/old/new/g
Replace operation throughout the file:%s/old/new/g
Commands for replacing operations throughout the document use the replacement confirmation function: s/old/new/c:s/old/new/gc:#, #s/OLD/NEW/GC:%S/OLD/NEW/GC

Linux Editor vim keyboard detailed

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.