1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:40:06 +08:00
SpaceVim/docs/layers/index.md
2018-05-25 21:25:05 +08:00

10 KiB

title description
Available layers A guide for managing SpaceVim with layers, tell you how to enable and disable a layer, also list all available layers in SpaceVim

Available layers

Introduction

SpaceVim is a community-driven vim distribution that seeks to provide layer feature. Layers help collect related packages together to provide features. This approach helps keep configuration organized and reduces overhead for the user by keeping them from having to think about what packages to install.

Enable layers

By default only autocomplete, checkers layer are enabled. To enable a specific layer you need to edit SpaceVim configuration file. The key binding for opening SpaceVim configuration file is SPC f v d

here is an example for loadding shell layer with some specified options:

[[layers]]
name = "shell"
default_position = "top"
default_height = 30

Disable layers

Some layers are enabled by defalut, here is an example for disable shell layer:

[[layers]]
name = "shell"
enable = false

Available layers

Name Description
VersionControl This layers provides general version control feature for vim. It should work with all VC backends such as Git, Mercurial, Bazaar, SVN, etc…
autocomplete Autocomplete code within SpaceVim, fuzzy find the candidates from multiple completion sources, expand snippet before cursor automatically
chat SpaceVim chatting layer provide chatting with qq and weixin in vim.
checkers Syntax checking automatically within SpaceVim, display error on the sign column and statusline.
chinese Layer for chinese users, include chinese docs and runtime messages
colorscheme colorscheme provides a list of colorscheme for SpaceVim, default colorscheme is gruvbox with dark theme.
cscope cscope layer provides a smart cscope and pycscope helper for SpaceVim, help users win at cscope
ctrlp This layers provide a heavily customized ctrlp centric work-flow
debug This layer provide debug workflow support in SpaceVim
default lt layer contains none plugins, but it has some better default config for vim and neovim
denite This layers provide a heavily customized Denite centric work-flow
fzf This layers provide a heavily customized fzf centric work-flow
git This layers adds extensive support for git
github This layer provides GitHub integration for SpaceVim
lang#c c/c++/object-c language support for SpaceVim, include code completion, jump to definition, quick runner.
lang#csharp This layer is for csharp development
lang#dart This layer is for dart development, provide autocompletion, syntax checking, code format for dart file.
lang#elixir This layer is for elixir development, provide autocompletion, syntax checking, code format for elixir file.
lang#go This layer is for golang development. It also provides additional language-specific key mappings.
lang#haskell haskell language support for SpaceVim, includes code completion, syntax checking, jumping to definition, also provides language server protocol support for haskell
lang#html Edit html in SpaceVim, with this layer, this layer provides code completion, syntax checking and code formatting for html.
lang#java This layer is for Java development. All the features such as code completion, formatting, syntax checking, REPL and debug have be done in this layer.
lang#javascript This layer is for JavaScript development
lang#lisp This layer is for lisp development, provide autocompletion, syntax checking, code format for lisp file.
lang#lua This layer is for lua development, provide autocompletion, syntax checking, code format for lua file.
lang#markdown Edit markdown within vim, autopreview markdown in the default browser, with this layer you can also format markdown file.
lang#ocaml This layer is for Python development, provide autocompletion, syntax checking, code format for ocaml file.
lang#php This layer adds PHP language support to SpaceVim
lang#python This layer is for Python development, provide autocompletion, syntax checking, code format for python file.
lang#ruby This layer is for ruby development, provide autocompletion, syntax checking, code format for ruby file.
lang#typescript This layer is for TypeScript development
lang#vim This layer is for writting vim script, including code completion, syntax checking and buffer formatting
language-server-protocol This layers provides language server protocol for vim and neovim
leaderf This layers provide a heavily customized LeaderF centric work-flow
shell This layer provide shell support in SpaceVim
tags This layer provide tags manager for project
tools#dash This layer provides Dash integration for SpaceVim
tools This layer provides some tools for vim
ui Awesome UI layer for SpaceVim, provide IDE-like UI for neovim and vim in both TUI and GUI
unite This layers provide a heavily customized Unite centric work-flow