Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"set ic" command in vim results in non matching of pattern

Tags:

vim

VIM - Vi IMproved 7.3

I am using the above version of vim. I search for ALWays_ff and there's no match. If I search always_ff, I get a match. I am baffled..

like image 230
Rakesh Avatar asked Oct 31 '25 07:10

Rakesh


1 Answers

try

:set scs?

to see have you enable the smartcase mode, if so, it will override ignorecase setting when you input upper case word

For more info, type :h smartcase

like image 146
newkedison Avatar answered Nov 02 '25 05:11

newkedison



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!