Remplacer le mot dans vim
# to search for the first occurrence of the string ‘foo’ in the current line and replace it with ‘bar’
:s/foo/bar/
# replace 'foo' with 'bar' in the entire file
:%s/foo/bar/g
Clever Capybara