In Vim, what is the command to correct the indentation of all the lines?
Often times I\'ll copy and paste code into a remote terminal and have the whole thing messed
=, the indent command can take motions. So, gg to get the start of the file, = to indent, G to the end of the file, gg=G.
=
gg
G
gg=G