Francis Luong

View Original

Vim replace to switch 2-space indents to 4-space

You pretty much have to escape all of the regexp characters.

%s/^\( \+\)/\1\1/g