escape sequence anywhere in the pattern \c
/\ccmake
will match cmake and CMake or cMake
/c\cmake
will match cMake and cmake but not CMake
the inverse of \c is \C
/\cc\CMake
will match CMake and cMake but not cmake
further options:
This will ignore casing in all searching:
:set ignorecase
unset with no prefix as usual:
:set noignorecase
In addition to the above this will ignore casing if search string is all lowercase, but will be case sensitive if the search string contains any upper case letter. The ignorecase must me set.
:set smartcase
 

 
    
Top comments (0)