-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
29 lines (24 loc) · 826 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
execute pathogen#infect()
filetype plugin indent on
syntax on
"Sets in-line spellchecking
set spell
" Set local language
setlocal spell spelllang=en_au
syntax on
set modeline
set hlsearch number
filetype on
set paste
set laststatus=2
set backspace=indent,eol,start
autocmd BufNewFile,BufRead *html set ai ts=2 sts=2 et sw=2 si
autocmd FileType python set ai ts=4 sts=4 et sw=4 si nospell
autocmd FileType matlab set ai ts=4 sts=4 et sw=4 si
autocmd FileType sh set ai ts=4 sts=4 et sw=4 si nospell
autocmd FileType javascript set ai ts=4 sts=4 et sw=4 si
autocmd FileType sql set ai ts=4 sts=4 et sw=4 si
autocmd FileType c set ai ts=4 sts=4 et sw=4 si
autocmd FileType tex set ai ts=2 sts=2 et sw=2 si tw=0
autocmd FileType xml set ai ts=2 sts=2 et sw=2 si
autocmd BufNewFile,BufRead *txt set ai ts=2 sts=2 noet sw=2 si