Skip to content
Liu-Cheng Xu edited this page Jun 9, 2018 · 3 revisions

A common space-vim user should pay attention to the following points:

Variable

  • g:spacevim_layers

    let g:spacevim_layers = [ 'fzf', 'better-defaults' ]

    Enable the existing layers in space-vim

Command

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.

Function

  • UserInit()

    function! UserInit()
      Plug 'junegunn/seoul256.vim'
    endfunction

    Add private plugins.

  • UserConfig()

    function! UserConfig()
      color seoul256
    endfunction

    Override the default settings in space-vim.

Clone this wiki locally