vim how to comma align

Posted by anon on Stack Overflow See other posts from Stack Overflow or by anon
Published on 2010-03-18T07:21:15Z Indexed on 2010/03/18 7:31 UTC
Read the original article Hit count: 460

Filed under:
|

I have a bunch of code of the form:

someVector.push_back(Foo("some name", 1.0, 3.1415926);
someVector.push_back(Foo("different length name", 89.0, 2.717);
... 20 more entries

I want sufficient space to be inserted so that my code is comma aligned, i.e. the "1.0," 's comma and the "89.0"'s comma are aligned -- is there builtins to do this?

© Stack Overflow or respective owner

Related posts about vim

Related posts about align