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

It's how you do a text replacement in VIM, I believe it's s for substitute, /../ for the regular expression, and g for global, to substitute multiple instances.



Don't forget the % if you are using vim, to make sure you replace on all lines :)

:%s/ubiquity/sonos/g




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

Search: