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

Perm Root HTC Desire Gingerbread 2.3.3

Increase Free Space On HTC Desire Android Phones

Squid Access.log Meaning Explained