Set expandtab globally.
This commit is contained in:
7
init.vim
7
init.vim
@@ -31,14 +31,9 @@ filetype plugin on
|
||||
" indentation
|
||||
set tabstop=4 " tabs only count for 4 spaces
|
||||
set shiftwidth=4 " when indenting use 4 spaces
|
||||
set noexpandtab " use tab characters
|
||||
set expandtab " use tab characters
|
||||
set autoindent
|
||||
|
||||
" Project-specific settings
|
||||
augroup ProjectSetup
|
||||
au BufRead,BufEnter ~/dev/skudonet/pound/*.{h,c} set et ts=4 sw=4
|
||||
augroup END
|
||||
|
||||
" view
|
||||
set number
|
||||
set showmatch " show matching bracket
|
||||
|
||||
Reference in New Issue
Block a user