How To 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

Recommended Posts

Contact

604-309-8713
info@solidfoundationwebdev.com

Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected