vim + CtrlP plugin - case insensitive search?
-
23-02-2021 - |
Frage
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!
Lösung
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.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow