diff --git a/.vimrc b/.vimrc index e3db6bc..b49ce5e 100644 --- a/.vimrc +++ b/.vimrc @@ -19,11 +19,12 @@ set smartcase " Indentation options (yeah let's switch to spaces instead of tabs I guess...) set autoindent set expandtab +set smarttab set shiftwidth=4 set tabstop=4 set softtabstop=4 -" Autodetect stuff like 'use tabs in Makefiles' +" Activate filetype plugin (e.g. for automatically using tabs instead of spaces in Makefiles) filetype plugin on " Indentation for Python (use 4 spaces)