vim: How do I line up ruby options?

Posted by TheDeeno on Stack Overflow See other posts from Stack Overflow or by TheDeeno
Published on 2010-04-08T20:34:53Z Indexed on 2010/04/10 7:33 UTC
Read the original article Hit count: 288

Filed under:
|
|

With vim how do I to turn this:

t.string :crypted_password :null => false
t.string :password_salt, :null => false

into this:

t.string :crypted_password,  :null => false
t.string :password_salt,     :null => false

without manually adding the spaces to each line?

© Stack Overflow or respective owner

Related posts about vim

Related posts about ruby