Vim

How To Do An Interactive Search And Replace In VIM

Posted by Weston Ganger on December 29, 2015

Quick tip to interactively search and replace with VIM instead of manually going through it by hand.


# Interactive Find & Replace
%s/old/new/gc

# Find & Replace All
%s/old/new/g


Related External Links:


Posted in Linux and Tagged with vim 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts