In vim, I know we can use ~ to capitalize a single char (as mentioned in this question), but is there a way to capitalize the first letter of each word in a sel
~
You can use the following substitution:
s/\<./\u&/g
\<
.
\u
(&)
&