1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:30:04 +08:00
SpaceVim/config/general.vim

36 lines
976 B
VimL
Raw Normal View History

2016-12-26 21:11:19 +08:00
scriptencoding utf-8
exe 'set wildignore+=' . g:spacevim_wildignore
2016-12-26 21:11:19 +08:00
" shell
if has('filterpipe')
set noshelltemp
endif
if count(g:spacevim_plugin_groups, 'colorscheme') && g:spacevim_colorscheme !=# '' "{{{
2016-12-26 21:11:19 +08:00
set background=dark
try
exec 'colorscheme '. g:spacevim_colorscheme
2016-12-26 21:11:19 +08:00
catch
exec 'colorscheme '. g:spacevim_colorscheme_default
2016-12-26 21:11:19 +08:00
endtry
2017-01-11 20:47:23 +08:00
else
exec 'colorscheme '. g:spacevim_colorscheme_default
2016-12-26 21:11:19 +08:00
endif
if g:spacevim_enable_cursorline == 1
2016-12-26 21:11:19 +08:00
set cursorline "显示当前行
endif
if g:spacevim_enable_cursorcolumn == 1
2016-12-26 21:11:19 +08:00
set cursorcolumn "显示当前列
endif
if g:spacevim_hiddenfileinfo == 1 && has('patch-7.4.1570')
2016-12-26 21:11:19 +08:00
set shortmess=filnxtToOFs
endif
2017-01-07 16:49:21 +08:00
if !empty(g:spacevim_guifont)
exe 'set guifont=' . g:spacevim_guifont
endif
if g:spacevim_enable_guicolors == 1
if exists('+termguicolors')
set termguicolors
elseif exists('+guicolors')
set guicolors
endif
2016-12-26 21:11:19 +08:00
endif