:%s/find/replace/gc
- % means the whole file
- g means replace all occurences on a line
- c confirm each substitution
- go to first line of range
- press
mato set theamark - go to last line of range
:'a,.s/foo/bar/
- 'a marked line
- , range separator
- . current line
- s start of substitution
:bufdo :e!
- bufdo do over each buffer
- e[dit]! start all over again
CTRL-g or g CTRL-g
or set ruler