How To Reformat or Re-indent Files in VIM

Published Date Author: , Posted January 11th, 2019 at 2:08:53pm

In the normal vim mode, typing gg=G will reindent the entire file.

== will re-indent just the current line.

http://vim.wikia.com/wiki/Fix_indentation

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.