I normally enable
smartcase in my
- If I want case-insensitive search, I write in upper-case or lower-case (doesn't matter) and append a
\cat the end of the query.
- Case-sensitive search happens by default.
- If I want case insensitive search, I write all in lower-case.
- If I want case sensitive search, I write the upper-case letters in upper-case.
smartcase enabled, how can I say that I want a case sensitive search of a lower-case pattern? I was expecting that appending a
\c would revert the type of search (so that if I had written all in lower-case, i.e. case-insensitive search, it would turn to a case-sensitive search; and if I had written some upper-case letters, i.e. case-sensitive search, it would turn to a case-insensitive search), but that does not seem to be the case (no pun intended).