Vim's Long March path

Source: Internet
Author: User

Before the system to learn vim, the first to find some tutorials on the internet to understand, because first we have to use VIM, and then in the system of learning process constantly enrich their understanding of vim.

---------------------------------------------------The information I've been looking for on the internet, chewing----------------------------------------------------------- --------------------

1. Left and right single character movement: KJHL

2.x Delete cursor position character

3.i insertion in the word match either the cursor

******************

4.DW Delete the word and the space after the word, if the cursor is not positioned at the beginning of the word, the deleted part contains the current character of the cursor and the space after the word (AAAB, CCC DW is AA,CCC)

5.d$ Delete from the current character to the end (including the current character)

6.[number][d][type], the first number can not write the default is 1, example dw,de,d$,dd is equivalent to 1DW,1DE,1D$,1DD (DW if the cursor is at the beginning of the word to delete the word and its trailing space, if it is located in the middle of the word, a letter, The deletion part is the word cursor and the letter after the cursor and the space after the word). The difference between the DW and de is that the part of the de removed does not include the space after the word

--------------------------------------------------------------------------------------------------------------- ---------------------------------------------

Vim's Long March path

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.