0

I have

syntax on
set pastetoggle=<F3>
set nu
set tabstop=2
set softtabstop=2
set shiftwidth=2
set smarttab
set expandtab
set autoindent
set scrolloff=5
set hls 
set incsearch
set history=1000
set nowrap

in my .vimrc file and every other file uses 2 spaces when I tab. However, I just started writing python on my computer and it uses 4 spaces. Why is that and how can I turn it back to 2 spaces?

drjrm3
  • 4,474
  • 10
  • 53
  • 91

0 Answers0