forked from skywind3000/vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc.unix
49 lines (34 loc) · 1.01 KB
/
vimrc.unix
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
let s:home = fnamemodify(resolve(expand('<sfile>:p')), ':h')
exec 'so '.fnameescape(s:home).'/asc.vim'
exec 'so '.fnameescape(s:home).'/skywind.vim'
set t_Co=256
color desert256
if has('win32unix')
let g:vimmake_path = s:home. '/tools/cygwin'
else
let g:vimmake_path = s:home . '/tools/linux'
endif
let g:vimmake_cflags = ["-lstdc++"]
let g:vimmake_build_name = "make"
let g:escope_gtags_label = 'pygments'
if exists('g:vim_startup')
let g:bundle_group = ['simple']
if g:vim_startup == 'nvim'
let g:bundle_group += ['basic']
elseif g:vim_startup == 'mvim'
let g:bundle_group += ['basic', 'inter', 'special']
set signcolumn=yes
endif
if filereadable(expand('~/.vim/bundle/Vundle.vim/autoload/vundle.vim'))
exec 'so '.fnameescape(s:home).'/bundle.vim'
endif
else
let g:vim_startup = ''
endif
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE
if has('patch-7.4.2100')
call Tools_SwitchLayout()
endif
if v:version >= 704
call EnableEnhancedDiff()
endif