Case Sensitive Search in Vi/Vim
By default, the search in Vim editor is case sensitive. But in cases, where the search is turned to case insensitive using the vim settings file: .vimrc, it can be overridden by the following way
Suppose you are searching for the pattern Vim
Go to the ESCAPE mode (by pressing ESC key)
Enter :set noic (Note that the semicolon in the beginning is must), where noic corresponds to No Ignore Case (Don’t ignore Case)
Now enter your search term, /Vim (to search forward) or ?Vim (to search backward)
Comments: