How do I reformat a paragraph to fit a specific line width in Vim?
gqap
The gq operator reformats text by wrapping lines to fit within the textwidth setting.
5 results for "gqap"
gqap
The gq operator reformats text by wrapping lines to fit within the textwidth setting.
gq
The gq operator reformats text to fit within your configured textwidth.
( / ) / { / }
Vim treats sentences and paragraphs as first-class navigation units.
navigation #navigation #motions #text-objects #prose #editing
gqip
The gqip command reformats the current paragraph to fit within the configured textwidth.
dap / dip
The dap and dip commands use Vim's paragraph text objects to delete an entire block of contiguous text in a single motion.
editing #editing #text-objects #normal-mode #delete #motions