better indentation settings
This commit is contained in:
parent
84fb28eac9
commit
2af28d877a
8
vimrc
8
vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue