feat(vimrc): tab=2 for c,cpp,nix,yaml

This commit is contained in:
Dict Xiong 2024-04-29 21:20:11 +08:00
parent cbc09bc73b
commit 7b3a596232

View File

@ -16,6 +16,7 @@ set autoindent
set smartindent
set expandtab "spaces instead of tabs
set tabstop=4 softtabstop=4 shiftwidth=4
autocmd FileType c,cpp,nix,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2
set backspace=indent,eol,start
set number "line numbers
set history=1000