Tabular is a Vim plugin for aligning text into neat columns using pattern-driven rules. Instead of manually spacing content, you define an alignment target—such as : in dictionaries, = in assignments, or | in Markdown tables—and the plugin rearranges whitespace to produce straight columns. It supports regular expressions, so you can craft smart alignment that respects context or ignores edge cases. The workflow fits naturally into Vim: you visually select lines (or operate on a motion), run a command, and instantly get well-formatted blocks. Tabular is particularly helpful for Markdown tables, JSON-like configs, and code where lining up items improves scannability. By turning alignment into a repeatable operation, it reduces tedium and enforces consistent formatting across a project.
Features
- Pattern-based alignment using simple targets or full regexes
- Works on selections, motions, or entire buffers
- Great for Markdown tables, assignments, and dictionaries
- Custom rules to handle complex or language-specific cases
- Repeatable, scriptable commands that fit Vim workflows
- Fast reformatting that keeps text readable and maintainable