Tabular is a Vim script for text alignment.
:Tab /:\zs
title: My picture
src: img.jpg
The \zs
atom will exclude the :
from the search match.
:Tab /:/r1c1l0
title : My picture
src : img.jpg
r1
– Right align with 1 spacec1
– Center align the comma with 1 spacel0
– Left align with 0 spacesSpecifier | Description |
---|---|
r1c1l0 |
multiple specifiers, one per column (the separator counts as a column) |
lN |
Left-align (with N spaces padding) |
rN |
Right-align (with N spaces padding) |
cN |
Center-align (with N spaces padding) |