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