- To hard-wrap a single line, we can use
gqq,
- and to hard-wrap multiple lines, we can select them in visual mode and then use the same
gqqcommand.
However, I suppose that there is probably a smarter way to accompany the second task. Does it really exist?
So the following code
// a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a // b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b
should be hard-wrapped to
// a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a // a a a a a a a a a a a a a a b b b b b b b b b b b b b b b b b b b b b b b b // b b b b b b b b b b b b b b b b b b b b b b b b b b b b