Runxi Yu
Runxi Yu

Reputation: 353

Making 4 spaces feel like 8-width tabs

I am used to using hard tabs, each of width 8, for all indentation. However, when I occasionally edit Python or Rust, the standard there is to use 4 spaces.

Is it possible to make all leading groups of four spaces behave as if they were 8-width tabs? E.g. Each group of four spaces should have a display width of 8, and I should not be allowed to move my cursor inside each group of four spaces, all insertions and deletions happen four spaces at once.

Upvotes: 1

Views: 47

Answers (0)

Related Questions