Oct 192012
Automatic code indentation using VIM
Answer:
To auto indent your source code, you can use the built-in feature of vim
1. First highlight the code block using the v and arrow keys
2. Press "=" button.
That's it.
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Automatic code indentation using VIM
Answer:
To auto indent your source code, you can use the built-in feature of vim
1. First highlight the code block using the v and arrow keys
2. Press "=" button.
That's it.