2016-12-26 21:11:19 +08:00
|
|
|
scriptencoding utf-8
|
2016-12-31 19:24:02 +08:00
|
|
|
exe "set wildignore+=" . g:spacevim_wildignore
|
2016-12-26 21:11:19 +08:00
|
|
|
" shell
|
|
|
|
if has('filterpipe')
|
|
|
|
set noshelltemp
|
|
|
|
endif
|
|
|
|
filetype plugin indent on
|
|
|
|
syntax on
|
2016-12-31 19:24:02 +08:00
|
|
|
if count(g:spacevim_plugin_groups, 'colorscheme')&&g:spacevim_colorscheme!='' "{{{
|
2016-12-26 21:11:19 +08:00
|
|
|
set background=dark
|
|
|
|
try
|
2016-12-31 19:24:02 +08:00
|
|
|
exec 'colorscheme '. g:spacevim_colorscheme
|
2016-12-26 21:11:19 +08:00
|
|
|
catch
|
2016-12-31 19:24:02 +08:00
|
|
|
exec 'colorscheme '. g:spacevim_colorscheme_default
|
2016-12-26 21:11:19 +08:00
|
|
|
endtry
|
|
|
|
endif
|
2016-12-31 19:24:02 +08:00
|
|
|
if g:spacevim_enable_cursorline == 1
|
2016-12-26 21:11:19 +08:00
|
|
|
set cursorline "显示当前行
|
|
|
|
endif
|
2016-12-31 19:24:02 +08:00
|
|
|
if g:spacevim_enable_cursorcolumn == 1
|
2016-12-26 21:11:19 +08:00
|
|
|
set cursorcolumn "显示当前列
|
|
|
|
endif
|
2016-12-31 19:24:02 +08:00
|
|
|
if g:spacevim_hiddenfileinfo == 1 && has("patch-7.4.1570")
|
2016-12-26 21:11:19 +08:00
|
|
|
set shortmess=filnxtToOFs
|
|
|
|
endif
|
|
|
|
if exists('+termguicolors')
|
|
|
|
set termguicolors
|
|
|
|
elseif exists('+guicolors')
|
|
|
|
set guicolors
|
|
|
|
endif
|