Skip to main content

Command Palette

Search for a command to run...

Format Code in Vim

Published
1 min read
Format Code in Vim

Spend less time formatting your code with this easy trick!

gg=G

That's it. gg Goes to the top of the file. = tells vim to fix the indentation. G goes to the end of the file.

4 views

More from this blog

Aditya's blog

57 posts

Who tricked sands into thinking?