SpaceVim

A modular Vim/Neovim configuration


Home | About | Quick start guide | Documentation | Development | Community | Sponsors | 中文


Available Layers » colorschemes

Description

This layer provides many Vim colorschemes for SpaceVim, the default colorscheme is gruvbox.

Install

This layer is disabled by default in SpaceVim.

To use this configuration layer, add this snippet to your custom configuration file.

[[layers]]
  name = "colorscheme"

Configuration

To change the colorscheme:

[options]
  colorscheme = "onedark"

Colorscheme list

Name dark light term gui statusline
molokai yes no yes yes yes
srcery yes no yes yes yes
onedark yes no yes yes yes
jellybeans yes no yes yes yes
palenight yes no yes yes yes
one yes yes yes yes yes
nord yes no yes yes yes
gruvbox yes yes yes yes yes
NeoSolarized yes yes yes yes yes
hybrid yes yes yes yes yes
material yes yes yes yes yes
dracula yes yes yes yes yes
SpaceVim yes yes yes yes yes

By default this layer only includes above colorschemes. If you want to use other colorschemes which are available on Github, use the custom_plugins section in the configuration file. For example:

[options]
  colorscheme = "OceanicNext"
  colorscheme_bg = "dark"

# add custom_plugins: https://github.com/mhartington/oceanic-next
[[custom_plugins]]
  repo = "mhartington/oceanic-next"
  merged = 0

Some colorschemes offer dark and light styles. Most of them are set by changing Vim’s background color. SpaceVim supports changing the background color with colorscheme_bg:

[options]
  colorscheme = "onedark"
  colorscheme_bg = "dark"

The colorscheme layer supports random colorschemes on startup. just load this layer with layer option random_theme

[[layers]]
  name = "colorscheme"
  random_theme = true

The frequency can be changed via frequency layer option, the available values are daily, hourly, weekly. You can also use number + unit, for example: 1h.

[[layers]]
  name = "colorscheme"
  random_theme = true
  frequency = "daily"

Powered by Jekyll