:set ic
ignores the case. How do you unset this?
You can use in your vimrc those commands: set ignorecase - All your searches will be case insensitive.
By default, all searches in vi are case-sensitive. To do a case-insensitive search, go into command mode (press Escape), and type :set ignorecase . You can also type :set ic as an abbreviation.
Case-insensitive search in Vim. If you want this behavior by default, you can turn on the option: set ignorecase. There's also a so-called "smartcase" ( :help smartcase ) which works as case-insensitive if you only use lowercase letters; otherwise, it will search in case-sensitive mode.
:set noic, or :set noignorecase
Really intuitive, right? :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With