Resize a Visual selection block to 80 width in VIM
Quick VIM tip today: Resizing a Visual selection block.
Suppose you have a paragraph of text in a markdown document. You want this paragraph to be composed of lines with a maximum width of 80.
First, set your textwidth to 80 via :set tw=80.
Now you can quickly resize the paragraph by selecting it in Visual mode and
executing gq.
Watch the demo below!