Grimoire-
Command
.es

GNU+Linux command memo

vim : case sensitive search

Recherche sensible à la casse (majuscules) ou non.

By default, a search typed in small letters is case insensitive in vim : results will all be highlighted with or without capital letters in them.

If you type a capital letter in your search terms, the search becomes case sensitive : only exact match regarding capital letters will be highlighted.

You can force this conduct with the following syntax :

/\c search-terms (1)
/\C search-terms (2)
1 Force case insensitive search with a backslash (minus) c
2 Force case sensitive search with a backslash (capital) C