Phase 26 20180621 Vim Editor

Source: Internet
Author: User

June 21 Task

5.5 Entering edit mode
5.6 VIM Command mode
5.7 Vim Practice
Extended
Special usage of vim http://www.apelearn.com/bbs/thread-9334-1-1.html
Vim Common shortcut key summary http://www.apelearn.com/bbs/thread-407-1-1.html
Vim quickly deletes a character http://www.apelearn.com/bbs/thread-842-1-1.html
Vim garbled http://www.apelearn.com/bbs/thread-6753-1-1.html
Small keyboard problem http://www.apelearn.com/bbs/thread-7215-1-1.html
VIM Encryption http://www.apelearn.com/bbs/thread-7750-1-1.html


Go to edit mode now!


I enter edit mode

I (large i) enter edit at the beginning of the line where the cursor is located

o Start editing from the next line of the cursor

A (after) cursor so the character after the start of editing

A Enter the end of the line with I opposite



And finally, into command mode.


When replacing, G is the global meaning, replace all, otherwise it is only the first line found. In addition, the range must be real.


If the content to be replaced has/will conflict with the command. This can be done using the following methods:

Change the original/change to a different special symbol

: 1, $s ^love^pleased^g



: Nohl No high light does not highlight


: X Save exit similar to: WQ

The difference is that when viewed but not manipulated, Wq changes mtime x does not



In fact, there is nothing to say, is to practice more.


Phase 26 20180621 Vim Editor

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.