vim substitute with capture group
Before
I always forget how to substitute in Vim with capture groups.
%s/\(\w\+\)/"\1"/g
After
"I" "always" "forget" "how" "to" "substitute" "in" "Vim" "with" "capture" "groups".
I always forget how to substitute in Vim with capture groups.
%s/\(\w\+\)/"\1"/g
"I" "always" "forget" "how" "to" "substitute" "in" "Vim" "with" "capture" "groups".