4 ms·
Also just realised while looking at the docs it works for search as well as replacement, with: :S/textToFind matching all of textToFind TextToFind texttofind
by WizardClickBoy 2y ago
Also just realised while looking at the docs it works for search as well as replacement, with:
:S/textToFind
matching all of textToFind TextToFind texttofind TEXTTOFIND
But not TeXttOfFiND.
Golly!
- gen220 2y agoIn vim, I believe there's a setting that you can flip to make search case sensitive. In my setup, `/foo` will match `FoO` and so on, but `/Foo` will only match `Foo`
- WizardClickBoy 2y agoThere's undoubtedly a setting but if you don't want it on all the time you can always add \c at the end of the search term, like /foo\c to denote case insensitivity