Meino Christian Cramer wrote:
I thought there would be one command to achieve the same effect instead of """doing it the wrong way""" first and the """correct it""" by an additional command...
Well, sure there is. Its Vim, isn't it? How about :[range]g/\S/s/^/%/which means: over the selected range (which may be the visual range), on all lines that
have some non-white-space character on them, insert a leading %. Regards, Chip Campbell
