Vim skills and pitfalls

Source: Internet
Author: User

The matching and replacement function of VIM is very fast and powerful, but it is hard to show the number of matches. It should be implemented around a bend:
The key to % S/xxx // gn is the final N, which indicates only the number of matched records is reported without actual replacement.

Vim v5 is powerful ..

 

In addition, if you are used to the editor on Windows, you need to change it. CTRL + S is the key. CTRL + s locked the shell.

It looks like your vim is so powerful. earlier on, if you thought it was a Vim error, press Ctrl + C to kill it and start over again. The feeling is sad.

In this case, use Ctrl + Q to unlock the shell lock.

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.