[ADD][VIM] Indent in multiples of shiftwidth
This commit is contained in:
parent
ecc2435f3e
commit
1638682e14
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ set expandtab
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
" -1 means the same as shitwidth
|
" -1 means the same as shitwidth
|
||||||
set softtabstop=-1
|
set softtabstop=-1
|
||||||
|
" Always indent by multiples of shiftwidth
|
||||||
|
set shiftround
|
||||||
" You shouldn't change the default tab width of 8 characters
|
" You shouldn't change the default tab width of 8 characters
|
||||||
set tabstop=8
|
set tabstop=8
|
||||||
" Makefiles should use tabs to indent
|
" Makefiles should use tabs to indent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue