vim + CtrlP plugin - case insensitive search?
-
23-02-2021 - |
Question
does anybody know how to perform a case insensitive file search with vim's plugin CtrlP? I can't seem to find that in the instructions anywhere. Ideally it would replace the standard CTRL+P shortcut.
Thank you!
La solution
The file search relies on the match function in VIM. To make the search case insensitive, simply issue the following command:
:set ignorecase
If you want this to be the default behaviour, you can add the command to your .vimrc file.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow