Hacker News new | past | comments | ask | show | jobs | submit login

The rendering of multiple cursors is really buggy in tmux + vim, to the extent that it's hard to tell what has been selected.

I have used this command for the purposes of changing a variable name. It could be better but gets the job done most of the time.

> :.,$s/\<<C-r><C-w>\>//gc<Left><Left><Left>

Short demo: http://cl.ly/image/403j153F3u1h




I do this: *Ncw (then change the variable name) Then just n.n.n.n. until things are replaced.




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

Search: