search and replace in vi vim

Quick tip:

Search and replace in vi
Search and replace in vim

:g/oldtext/s//newtext/

Comments

Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Desktop publishing with Ubuntu linux

Send SMS Using Gammu Command Line Tool

Squid Access.log Meaning Explained