On Tuesday, April 30, 2013 7:00:12 PM UTC+2, Philip Rhoades wrote:
> I have been using the "Align" plugin quite happily for a long time now
>
> but I came across a need where it didn't do what I wanted: a block of
>
> lines consisting of only email addresses - I wanted to align on the "@"
>
> character - is there a way to do this without inserting whitespace into
>
> the email addresses? Am I missing something?
I prefer using Tabular for my alignment tasks.
Using Tabular you would do
:Tab /@/r0c0l0
"/@/" aligns on the @ character, "r0c0l0" is the format specifier,
stating "right-align first column, center-align second column,
left-align third column, all with no padding whitespace".
https://github.com/godlygeek/tabular
http://vimcasts.org/episodes/aligning-text-with-tabular-vim/