Do An Interactive Search And Replace In VIM

Posted by Weston Ganger

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:

Article Topic:Software Development - Linux

Date:December 29, 2015