TLDR: Use substitute : %s/thisword/thatword/gc

Vim it rocks

/images/vim-icon.png

Replace "thisword" with "thatword" global confirm

:%s/thisword/thatword/gc

What I do when I'm lazy.

  1. Find the word with : /
  2. Change the word with : cw
  3. Go to the next one with : n
  4. Repeat last command with : .

Read the docs

Yeah, first try the built in help

:help substitute

or : https://vimdoc.sourceforge.net/htmldoc/usr_12.html

Watch a demo