Linux

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 


Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts