Vim ignores uppercase and lowercase lookup configurations

Source: Internet
Author: User

zhanhailiang 日期:2014-12-17

The default Vim lookup is to differentiate between uppercase and lowercase, and can be implemented in the following two ways ignoring uppercase and lowercase lookups

set ic?noignorecase

1 instruction setting:

:set ic(ignorecase 的缩写) 忽略大写和小写:set noic(noignorecase 的缩写) 不忽略大写和小写

Enter the above instructions, each time after the search is based on the current matching find, false assumption has been effective. Be able to write it to the configuration file. vimrc

set ic

2 Find Symbol settings:

/\CREDIS_HOST 区分大写和小写的查找/\credis_host 不区分大写和小写的查找

This action is only valid for the current lookup

Vim ignores uppercase and lowercase lookup configurations

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.