-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
53 lines (48 loc) · 893 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
45
46
47
48
49
50
51
52
53
call pathogen#infect()
call pathogen#helptags()
if has("gui_gtk2")
set guifont=Inconsolata\ Medium\ 13
else
set guifont=Consolas:h13
endif
filetype on
filetype plugin on
filetype indent on
set cscopetag
set visualbell
set autoindent
set incsearch
set smartcase
set ignorecase
set number
set showmatch
set ruler
set backspace=eol,start,indent
set nowrap
set modeline
set sw=4
set ts=4
set smarttab
set listchars=eol:$,tab:>-,trail:.,extends:>,precedes:<
set scrolloff=1
set autoread
set expandtab
function! Prose()
set spell
set expandtab
set nocindent
iab teh the
iab Teh The
iab THe The
endfunction
au FileType c set cindent
au FileType gitcommit,text,svn,mail,xml call Prose()
au FileType html,xml,xsl source ~/.vim/scripts/closetag.vim
au FileType make,cabal set noet
syntax on
if has('gui_running')
set background=light
else
set background=dark
endif
colorscheme solarized