Can you remember the exact command to search & replace in Vim? I can’t. So I’ve got a command to do that for me:

nmap <Leader>ss :%s///g<left><left>
vmap <Leader>ss :s///g<left><left>

It works in normal or visual mode. In visual mode it’s scopped to the visual selection.