-
Notifications
You must be signed in to change notification settings - Fork 254
Loading process
Liu-Cheng Xu edited this page Aug 11, 2018
·
3 revisions
+--------+ +--------+
| vim | | nvim |
+--------+ +--------+
| |
| |
| +-------+ +----------+ |
+-----> | vimrc | | init.vim | <-----+
+-------+ +----------+
| |
| |
+-----+ +-----+
| |
| |
+--------------+
| 📝.spacevim |
+--------------+
| |
| |
+--------------+
| packages.vim |
+--------------+
| |
| |
+--------------+
| config.vim |
+--------------+
- The auto generated
~/.spacevim
is the configuration file for space-vim, don't edit any other file in~/.space-vim
.
A common space-vim user should pay attention to the following points:
-
g:spacevim_layers
let g:spacevim_layers = [ 'fzf', 'better-defaults' ]
Enable the existing layers in space-vim.
if g:spacevim.nvim
Layer 'deoplete'
endif
If you want to enable ycmd Layer, don't forget to compile YouCompleteMe to get it work.
Layers()
has been deprecated since 0.7.0. Please use g:spacevim_layers
instead. See removed section in the CHANGELOG.md.
-
UserInit()
function! UserInit() Plug 'junegunn/seoul256.vim' endfunction
Add private plugins.
-
UserConfig()
function! UserConfig() color seoul256 endfunction
Override the default settings in space-vim.