To turn: foo into: foo bar :g/foo/ copy . | s//bar/g