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

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




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: