Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



treats 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\>


You 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: