diff --git a/.vimrc2 b/.vimrc2 index 271c162..059c6c9 100644 --- a/.vimrc2 +++ b/.vimrc2 @@ -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