Last Updated: February 25, 2016
·
2.178K
· mattsenior

Format text into columns in Vim

To format text content into pretty columns within Vim, use the Linux column tool:

:%!column -t

Or make a line selection and run:

:!column -t

Saved me a lot of time recently when organising tons of RewriteRules or editing a zone file.