Duplicate tip

This tip is very similar to the following:

These tips need to be merged – see the merge guidelines.

Tip 570 Printable Monobook Previous Next

created September 30, 2003 · complexity basic · author mosh · version 6.0

Align badly formatted text into a table by selecting the region, then pressing <A-a>. This case aligns the '='; you decide the centering string before pressing return.

You need the perl script "align" from

Mapping is:

:vmap <A-a> !perl ~/perl/align -c:=

Example input:

" x = 1;
" xyz = 245;
" a=1;

Example output:

" x   = 1;
" xyz = 245;
" a   = 1;


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.