Sep 14, 2017

Find and replace strings in vim on multiple lines

From line 6 to line 8 
:6,8s/<search_string>/<replace_string>/g 
 
 
Replace All: 
:%s/foo/bar/g