4 ms·
My google-fu can be quite bad, but so far I don't know way to search in Vim with fixed strings, not with regex - quite often I do want just to copypaste some st
by CoolCold 4y ago
My google-fu can be quite bad, but so far I don't know way to search in Vim with fixed strings, not with regex - quite often I do want just to copypaste some string and not to bother on escaping dots or any other chars. Dumb simple search like Notepad do. Do you know the trick?
- orev 4y agoTake a look at ‘nomagic’ or \V.
- CoolCold 4y agoFrom what I read before, it still has special meaning for backslash > Use of "\V" means that in the pattern after it only the backslash has a special meaning. "very nomagic" which is not "put whatever is in your clipboard and it will have no interpolation" thing from my PoV