032 - How to replace a string across multiple files? | VIM Editor

Published: 02 July 2020
on channel: Linux Weekend Learning
582
2

Please find commands here:
vi file1 file2 -O - Opens two files in vertical windows
:windo %s/foo/bar/g - Replaces all the occurrences of "foo" to "bar" across all the opened files


On this page of the site you can watch the video online 032 - How to replace a string across multiple files? | VIM Editor with a duration of hours minute second in good quality, which was uploaded by the user Linux Weekend Learning 02 July 2020, share the link with friends and acquaintances, this video has already been watched 582 times on youtube and it was liked by 2 viewers. Enjoy your viewing!