2

I am new to vim, and I'm facing an interesting problem. I need to reformat a file so that the indentation is consistent. How do I do this?

4
  • Edited @Jake Grossman – The Masked Rebel Oct 12 '20 at 15:33
  • @Rich typo. I can't edit it now – The Masked Rebel Oct 12 '20 at 16:33
  • 2
    Can you describe "consistent indentation"? It could mean a number of different things. – Jake Grossman Oct 12 '20 at 16:53
  • 1
    @TheMaskedRebel you can click edit to edit. (Welcome to Vi and Vim!) – D. Ben Knoble Oct 12 '20 at 17:11