Reformat a Python file to have 4 space indentations

前端 未结 7 1441
灰色年华
灰色年华 2020-12-23 16:39

I\'m editing a Python file that uses two spaces for programmatic indents - I prefer 4 spaces. In my .vimrc I have the following settings related to indentation:

<         


        
相关标签:
7条回答
  • 2020-12-23 17:05

    Have you tried?

    :retab

    I'm not in front of a machine with Vim at the moment so I can't verify this.

    0 讨论(0)
提交回复
热议问题