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.
Written by Matt Senior
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#