40 ms·
Vim is quite nice, but also quite... old-fashioned? I use vanilla vim as my main editor. Today I had to search for some text verbatim, and I don't think there'
by meuk 7y ago
Vim is quite nice, but also quite... old-fashioned?
I use vanilla vim as my main editor. Today I had to search for some text verbatim, and I don't think there's a way to do this in vim: It treats everything as a regex. I'll also happily use mouse support, and really hate the bad support for the clipboard in vim. I have spend multiple afternoons on getting this to work properly and it still doesn't. So sometimes you just have to take your loss and use another editor for something.
- deleted 7y ago[deleted]
- YeGoblynQueenne 7y agoYou can search for a string verbatim, but you have to remember to escape special characters. Is that what you mean? That the special characters have to be escaped?
- ej12n 7y agotreats everything as a regex by default but you can turn it off easily... /\Vwhatever... see :help \V you can also use \< and \> (beginning of word, end of word) for easier phrase matching... /\<my phrase\>