-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
58 lines (47 loc) · 921 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
54
55
56
57
58
" style
syntax on
filetype plugin on
filetype indent on
set t_Co=256
" behavior
set mouse=ni
set hidden
set showcmd
set foldmethod=manual
set history=1000
set nu
set incsearch
set autoread
set backspace=indent,eol,start
set smartcase
" writing and indent
set cindent
set sw=8
set ts=8
set sts=8
set noexpandtab
set comments=sr:/*,mb:*,e:*/
set cinoptions=+4,(4
" 80 char border
set colorcolumn=81
hi ColorColumn ctermbg=grey guibg=grey50
" load pathogen and it plugins
execute pathogen#infect()
" plugins
set thesaurus+=~/.vim/mthesaur.txt
" set status line
set laststatus=2
" enable rainbow plugin
let g:rainbow_active = 1
" async update
set updatetime=100
" colorscheme
set background=dark
colorscheme gruvbox
" gvim
set guioptions-=m "remove menu bar
set guioptions-=T "remove toolbar
highlight Normal guifg=white guibg=black
if filereadable(expand("~/.vimrc.local"))
:source ~/.vimrc.local
endif