better indentation settings

This commit is contained in:
ManjaroOne666 2017-09-18 23:09:23 +01:00
parent 84fb28eac9
commit 2af28d877a
1 changed files with 5 additions and 3 deletions

8
vimrc
View File

@ -237,10 +237,12 @@ set foldmethod=manual
syntax on
" tabs
set tabstop=2
set softtabstop=2
set shiftwidth=0 "use tabstop value
"set tabstop=2 " leave at default
set expandtab " tab inserts 'softtabstop' number of spaces
set softtabstop=2 "
set shiftwidth=2 " affects what happens with >>,<<,== and automatic indentation
set mouse=a
filetype plugin indent on " file type based indentation
" rewrapping set to 80
set tw=180