Case-Insensitive Search in Vim: 3 Methods
By default, Vim searches case sensitively. You can match dog, Dog, DOG, and other case variations using one of three approaches. Using the ignorecase Option The simplest method is to enable the ignorecase setting: :set ignorecase Now /dog will match dog, Dog, DOg, and any other case variation. To disable it: :set noignorecase Add this…
