vim Substitution Quickly refactor the word under the cursor


Example

  1. * on the word you want to substitute.

  2. :%s//replacement/g, leaving the find pattern empty.