Hacker Newsnew | past | comments | ask | show | jobs | submit | mxmkm's commentslogin

Selection color is not particularly good with comments: https://i.imgur.com/ExeT7Ne.png


In vim there is `\zs` and `\ze` where `\zs` is the `\K` equivalent in grep.

Basically

  :%s/hello \zsworld\ze out there/planet/g
would find all `hello world out there` and replace `world` to `planet`.


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

Search: