Here I will collect some of the actions I always have to look up before I can use them in VIM...
Replace in selection
- Get into visual mode (
CTRL + V) and create the selection
:- you'll see
'<,'>which is the range
- After this range, type for example
s/fuction/function/gto replace every occurance of "fuction" with "function".