Reformat Or Fix The Indentation Of An Entire File In Vim
1
Reformat Or Fix The Indentation Of An Entire File In Vim
gg=G “=” is the indent command and it can takes motions. So “gg” means start at the beginning of the file and “G” means finish at the end.