Reputation: 143
I want to do this in VIM:
// before
int DoStuffToSometing(int stuff,
char action,
int something);
// after
int DoStuffToSometing(int stuff,
char action,
int someting);
=%
while being on the matching parenthesis, doesn't work.
How to line up things as shown above?
Upvotes: 4
Views: 188
Reputation: 160953
Use :set cinoptions+=(0
then do the select the content and press =
.
Upvotes: 3