小剑

备忘

gg=G

Explanation: gg goes to the top of the file, = is a command to fix the indentation and G tells it to perform the operation to the end of the file.

Alt+F3 on Windows and Linux, or Ctrl+Command+G on OS X