Vim
- Vim substitution syntax
:%s/old/new/gc
- (g = global, c = ask for confirmation on each one)
- Performs substitution for the whole file.
:,$s/old/new/gc
- Performs substitution from current line. See why in the doc above
- This page is dedicated to vim configuration and notes.
~/.vimrc
See https://github.com/domfarolino/dotfiles/blob/master/.vimrc.