mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:20:06 +08:00
Add simple_mode option
This commit is contained in:
parent
19e2a53f0c
commit
030ac0e119
@ -3,6 +3,8 @@
|
||||
" @stylized Maktaba
|
||||
" @library
|
||||
" @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.
|
||||
@ -76,9 +78,18 @@ let g:spacevim_vim_help_language = 'en'
|
||||
" The colorscheme of SpaceVim, if colorscheme groups are installed.
|
||||
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'
|
||||
""
|
||||
" 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.
|
||||
let g:spacevim_filemanager = 'vimfiler'
|
||||
""
|
||||
@ -194,7 +205,15 @@ endfunction
|
||||
|
||||
""
|
||||
" @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
|
||||
call SpaceVim#default#SetOptions()
|
||||
call SpaceVim#default#SetPlugins()
|
||||
if g:spacevim_simple_mode
|
||||
call SpaceVim#default#UseSimpleMode()
|
||||
else
|
||||
call SpaceVim#default#SetPlugins()
|
||||
endif
|
||||
call SpaceVim#default#SetMappings()
|
||||
endfunction
|
||||
|
||||
|
@ -393,3 +393,7 @@ fu! s:tobur(num) abort
|
||||
endif
|
||||
endif
|
||||
endf
|
||||
|
||||
function! SpaceVim#default#UseSimpleMode() abort
|
||||
|
||||
endfunction
|
||||
|
@ -11,6 +11,9 @@ CONTENTS *SpaceVim-contents*
|
||||
==============================================================================
|
||||
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*
|
||||
|
||||
@ -71,7 +74,16 @@ The error symbol used by maker.
|
||||
The colorscheme of SpaceVim, if colorscheme groups are installed.
|
||||
|
||||
*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*
|
||||
The default file manager of SpaceVim.
|
||||
@ -168,7 +180,15 @@ SpaceVim#logger#setOutput({file}) *SpaceVim#logger#setOutput()*
|
||||
==============================================================================
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user