Pretty indent in Vim
Want to fix the indentation of a block of messy code in vim. Pretty easy, and powerful.
First activate the visual mode by shift-V
and select the block you want to indent.
Then hit =
.
That's it :)
Written by Suleyman Melikoglu
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#