-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvimrc
executable file
·45 lines (37 loc) · 1007 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
execute pathogen#infect()
set hlsearch
" Tab width
set tabstop=4
set shiftwidth=4
set expandtab
" Line numbers
set number
" Store swap files in fixed location
set dir=~/.vim/tmp//,.
set undodir=~/.vim/undo//,.
set backupdir=~/.vim/backup//,.
colorscheme slate
"colorscheme jellybeans
"colorscheme lucius
"LuciusDark
autocmd FileType html setlocal shiftwidth=2 tabstop=2
autocmd FileType htmldjango setlocal shiftwidth=2 tabstop=2
autocmd FileType css setlocal shiftwidth=2 tabstop=2
autocmd FileType ruby setlocal shiftwidth=2 tabstop=2
autocmd FileType javascript setlocal shiftwidth=2 tabstop=2
autocmd FileType json setlocal shiftwidth=2 tabstop=2
if has('mouse')
set mouse=a
endif
if has("gui_running")
set guifont=Terminus\ 9
colorscheme jellybeans
set guioptions=aeigtm
" Use
if maparg('<C-I>', 'n') ==# ''
nnoremap <silent> <C-I> :set guifont=Inconsolata\ 17<CR>
endif
if maparg('<C-O>', 'n') ==# ''
nnoremap <silent> <C-O> :set guifont=Terminus\ 9<CR>
endif
endif