Vim profile indentation problem

  question, vim

I don’t know, why, why in.vimrcThe file set up:

set autoindent
 set tabstop=2
 set shiftwidth=2

Press “Tab” and “SHIFT”+”<” keys anyway, they are all 8 spaces, and press “O” to enter editing status, and they are always indented by 8 spaces …. What’s going on? . .

Try adding

set cin

The topic owner wrote the indent setting in the conditional judgment statement and it was not executed