Case insensitivity on autocomplete?

According to the documentation, it seems you could use the two following options : ignorecase and infercase.

According to the documentation, it seems you could use the two following options : ignorecase and infercase 'infercase' 'inf' boolean (default off) local to buffer {not in Vi} When doing keyword completion in insert mode |ins-completion|, and 'ignorecase' is also on, the case of the match is adjusted depending on the typed text. If the typed text contains a lowercase letter where the match has an upper case letter, the completed part is made lowercase. If the typed text has no lowercase letters and the match has a lowercase letter where the typed text has an uppercase letter, and there is a letter before it, the completed part is made uppercase.

With 'noinfercase' the match is used as-is. According to the doc it is working for ins-completion, i.e. Automatic completion in insert mode.

You should add the following options in your . Vimrc: set ignorecase set infercase.

That's is, thanks Xavier T. – sidyll Feb 14 at 11:39.

Set wildignorecase Found it right here on SO :D It's a very novel feature, only since 7.3.072 is it available.

Looks like I need to review my search process. Anyway, running :ve prints 7.3 for me, so I don't know exactly how to find my Vim version with that precision. This feature is not in my help files.

But, after searching over the internet looks like this option was made to turn on case insensitivity on file names completion. Is this right? If so, it's not what I need… – sidyll Feb 13 at 22:40 dunno how I read it wrong.

Looks like this isn't what you are looking for. – Uku Loskit Feb 13 at 23:15.

I don't know about wildignorecase, but :set ignorecase does the trick for me (with vim 7.2).

– sidyll Feb 13 at 22:36 @sidyll - right. I guess ignorecase affects the matches found when autocompleting but it's that combination with infercase that gets you where you want, as explained above. That's great, infercase = new to me so I definitely learned something!

– tjmw Feb 14 at 13:14.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions