Tab Vs Space preferences in Vim

前端 未结 7 1070
眼角桃花
眼角桃花 2020-12-07 07:31

Vim is very accommodating when it comes to tab Vs. space preferences. As I understand it, the tabstop setting indicates the width of a tab character. The

7条回答
  •  心在旅途
    2020-12-07 07:53

    One useful option is softtabstop=-1 which will set it to the value of shiftwidth.
    You can also set shiftwidth to 0, in which case the tabstop value will be used.

提交回复
热议问题