moved indentation rules to ftplugin/ files
This commit is contained in:
parent
a56376cb5c
commit
13a323b19c
8 changed files with 42 additions and 8 deletions
8
vimrc
8
vimrc
|
|
@ -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:·
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue