Skip to content

My SpaceVim configuration. Clone it into ~/.SpaceVim.d

Notifications You must be signed in to change notification settings

thawk/dotspacevim

Repository files navigation

This is my custom configuratin for SpaceVim. Feel free to clone and modified.

You can put host dependent code into a vim file: ~/.spacevim.local, it will be source at the begin of bootstrap_before function.

For example, I disable all the programming related plugins in my FreeBSD Jail:

" vim: filetype=vim fileencoding=utf-8 foldmethod=marker foldlevel=0:

for l in [ 'VersionControl', 'lang#c', 'lang#clojure', 
            \ 'lang#go', 'lang#haskell', 'lang#haskell',
            \ 'lang#java', 'lang#javascript', 'lang#python',
            \ 'lang#lilypond', 'leaderf', 'lsp', 'tags']
    call SpaceVim#layers#disable(l)
endfor

Offline usage

You can use offline.sh to disable checkupdate to be used at an offline environment.

You can use nogui.sh to be used in an terminal without nerd-font.

Dependencies

pip install pynvim neovim
  • lang#markdown depends on remark

    npm install --global remark-cli remark-html remark-preset-lint-markdown-style-guide
  • lang#c depends on

    pip install clang
  • lang#python depends on

    pip install jedi
  • lang#javascript depends on

    npm install -g typescript typescript-language-server

Work with pyenv for neovim

  • Create the neovim virtualenvs

  • Set environment

    • using vim script

      let g:python_host_prog = '/full/path/to/neovim2/bin/python'
      let g:python3_host_prog = '/full/path/to/neovim3/bin/python'
      ```py
    • using shell

      export PYTHON_HOST_PROG="$(pyenv root)/neovim2/bin/python"
      export PYTHON3_HOST_PROG="$(pyenv root)/neovim3/bin/python"

F ```

About

My SpaceVim configuration. Clone it into ~/.SpaceVim.d

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published