mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-25 11:12:22 +08:00
Add simple_mode option
This commit is contained in:
parent
19e2a53f0c
commit
030ac0e119
@ -3,6 +3,8 @@
|
|||||||
" @stylized Maktaba
|
" @stylized Maktaba
|
||||||
" @library
|
" @library
|
||||||
" @order intro version dicts functions exceptions layers
|
" @order intro version dicts functions exceptions layers
|
||||||
|
" SpaceVim is a Modular configuration, a bundle of custom settings
|
||||||
|
" and plugins, for Vim. It got inspired by spacemacs.
|
||||||
|
|
||||||
""
|
""
|
||||||
" Version of SpaceVim , this value can not be changed.
|
" Version of SpaceVim , this value can not be changed.
|
||||||
@ -76,9 +78,18 @@ let g:spacevim_vim_help_language = 'en'
|
|||||||
" The colorscheme of SpaceVim, if colorscheme groups are installed.
|
" The colorscheme of SpaceVim, if colorscheme groups are installed.
|
||||||
let g:spacevim_colorscheme = 'gruvbox'
|
let g:spacevim_colorscheme = 'gruvbox'
|
||||||
""
|
""
|
||||||
" The default colorscheme of SpaceVim.
|
" The default colorscheme of SpaceVim. By default SpaceVim use desert, if
|
||||||
|
" colorscheme which name is the value of g:spacevim_colorscheme has not been
|
||||||
|
" installed.you can change it in custom config file.
|
||||||
|
" >
|
||||||
|
" let g:spacevim_colorscheme_default = 'other_color'
|
||||||
|
" <
|
||||||
let g:spacevim_colorscheme_default = 'desert'
|
let g:spacevim_colorscheme_default = 'desert'
|
||||||
""
|
""
|
||||||
|
" Disable/Enable simple mode of SpaceVim, in this mode, only few plugins will be
|
||||||
|
" installed.
|
||||||
|
let g:spacevim_simple_mode = 0
|
||||||
|
""
|
||||||
" The default file manager of SpaceVim.
|
" The default file manager of SpaceVim.
|
||||||
let g:spacevim_filemanager = 'vimfiler'
|
let g:spacevim_filemanager = 'vimfiler'
|
||||||
""
|
""
|
||||||
@ -195,6 +206,14 @@ endfunction
|
|||||||
""
|
""
|
||||||
" @section Layers, layers
|
" @section Layers, layers
|
||||||
" SpaceVim support such layers:
|
" SpaceVim support such layers:
|
||||||
|
"
|
||||||
|
" core : core plugins for SpaceVim.
|
||||||
|
"
|
||||||
|
" autocompletion : Plugins for autocompletion,
|
||||||
|
"
|
||||||
|
" maker : syntax checker
|
||||||
|
"
|
||||||
|
" unite : unite centric work-flow
|
||||||
|
|
||||||
|
|
||||||
""
|
""
|
||||||
@ -244,7 +263,11 @@ endfunction
|
|||||||
|
|
||||||
function! SpaceVim#default() abort
|
function! SpaceVim#default() abort
|
||||||
call SpaceVim#default#SetOptions()
|
call SpaceVim#default#SetOptions()
|
||||||
|
if g:spacevim_simple_mode
|
||||||
|
call SpaceVim#default#UseSimpleMode()
|
||||||
|
else
|
||||||
call SpaceVim#default#SetPlugins()
|
call SpaceVim#default#SetPlugins()
|
||||||
|
endif
|
||||||
call SpaceVim#default#SetMappings()
|
call SpaceVim#default#SetMappings()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
@ -393,3 +393,7 @@ fu! s:tobur(num) abort
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endf
|
endf
|
||||||
|
|
||||||
|
function! SpaceVim#default#UseSimpleMode() abort
|
||||||
|
|
||||||
|
endfunction
|
||||||
|
@ -11,6 +11,9 @@ CONTENTS *SpaceVim-contents*
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
INTRODUCTION *SpaceVim-intro*
|
INTRODUCTION *SpaceVim-intro*
|
||||||
|
|
||||||
|
SpaceVim is a Modular configuration, a bundle of custom settings and
|
||||||
|
plugins, for Vim. It got inspired by spacemacs.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
CONFIGURATION *SpaceVim-config*
|
CONFIGURATION *SpaceVim-config*
|
||||||
|
|
||||||
@ -71,7 +74,16 @@ The error symbol used by maker.
|
|||||||
The colorscheme of SpaceVim, if colorscheme groups are installed.
|
The colorscheme of SpaceVim, if colorscheme groups are installed.
|
||||||
|
|
||||||
*g:spacevim_colorscheme_default*
|
*g:spacevim_colorscheme_default*
|
||||||
The default colorscheme of SpaceVim.
|
The default colorscheme of SpaceVim. By default SpaceVim use desert, if
|
||||||
|
colorscheme which name is the value of g:spacevim_colorscheme has not been
|
||||||
|
installed.you can change it in custom config file.
|
||||||
|
>
|
||||||
|
let g:spacevim_colorscheme_default = 'other_color'
|
||||||
|
<
|
||||||
|
|
||||||
|
*g:spacevim_simple_mode*
|
||||||
|
Disable/Enable simple mode of SpaceVim, in this mode, only few plugins will be
|
||||||
|
installed.
|
||||||
|
|
||||||
*g:spacevim_filemanager*
|
*g:spacevim_filemanager*
|
||||||
The default file manager of SpaceVim.
|
The default file manager of SpaceVim.
|
||||||
@ -170,5 +182,13 @@ LAYERS *SpaceVim-layers*
|
|||||||
|
|
||||||
SpaceVim support such layers:
|
SpaceVim support such layers:
|
||||||
|
|
||||||
|
core : core plugins for SpaceVim.
|
||||||
|
|
||||||
|
autocompletion : Plugins for autocompletion,
|
||||||
|
|
||||||
|
maker : syntax checker
|
||||||
|
|
||||||
|
unite : unite centric work-flow
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user