Global search and replace

Replace all occurrences interactively (c = confirm)

:%s/old/new/gc

tool
vim10 commands
tags
vimlinux

More vim commands

all 10 vim commands