moved indentation rules to ftplugin/ files

This commit is contained in:
ManjaroOne666 2017-09-21 13:54:09 +01:00
commit 13a323b19c
8 changed files with 42 additions and 8 deletions

8
vimrc
View file

@ -198,14 +198,6 @@ set autoindent
filetype plugin indent on " file type based indentation
syntax on
"set tabstop=2 " leave at default
set expandtab " tab inserts 'softtabstop' number of spaces
" set following with autocommands to override filetype plugin indent
au Filetype * set softtabstop=2 "
au Filetype * set tabstop=2 "
au Filetype * set shiftwidth=2 " affects what happens with >>,<<,== and automatic indentation
set shiftround " round indent to multiples of shiftwidth
set autoindent " copy indent from current line over to new line
set mouse=a
set listchars=eol,tab:->,trail:~,extends:>,precedes:<,space