Brisk VIM (3): Delete

Source: Internet
Author: User


Light VIM (3): delete this section to see how to delete it. The DELETE command is relatively simple, however, to delete www.2cto.com more efficiently, you need to use the various mobile command characters described in section 1 to delete x to delete the character at the cursor position X to delete the character before the cursor there is nothing to note about here, however, it should be noted that, in general cases, a newbie will press x in a rush to delete a large piece of text. If it is used for the first few days, it should be noted that, for a long term, you also need to learn the following DELETE command word Delete dw Delete to start with next word de Delete to end of this word dE Delete to end of this word including punctuation db Delete to previous word dB Delete the previous word contains punctuation marks, d is the abbreviation of delete, and x above is the old-fashioned clear meaning www.2cto.com here e indicates to delete a word forward, B indicates to delete a word backward, in section 1, China Mobile clearly states that e B ignores punctuation, such as don't, they will delete these three words as don, t, and e B in upper case will not delete dd delete a whole row D $ Delete cursor position to the end of the row d0 Delete the cursor positions at the beginning of the line are the three best practices to understand, as I said at the beginning, the DELETE command must be used with the mobile command to play a more role. You can check the content of section 1 and try to delete the section or section. tips: 3dd indicates deleting three lines, you must have known it before.

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.