vi tricks

0

a little vi trick

http://www.handlewithlinux.com

An update to my previous article My vi first steps

I use vi instead of command line editors to do mass replacing of blocks and editing many files in the following way:

say I know all files I need to edit in the current directory contain the text foo and the rest of the files don't.

I open all files containing foo in vi:

Read more »
j00p34's picture
Created by j00p34 15 years 23 weeks ago – Made popular 15 years 23 weeks ago
Category: End User   Tags:

Best karma users