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 syntax on
" tabs " tabs
set tabstop=2 "set tabstop=2 " leave at default
set softtabstop=2 set expandtab " tab inserts 'softtabstop' number of spaces
set shiftwidth=0 "use tabstop value set softtabstop=2 "
set shiftwidth=2 " affects what happens with >>,<<,== and automatic indentation
set mouse=a set mouse=a
filetype plugin indent on " file type based indentation
" rewrapping set to 80 " rewrapping set to 80
set tw=180 set tw=180