mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
1012 B
1012 B
title | description |
---|---|
SpaceVim cpicker layer | This layer provides color picker for SpaceVim |
Available Layers >> tools#cpicker
Description
This layer provides color picker for SpaceVim. It requires neovim 0.10+.
Install
To use this configuration layer, add it to your ~/.SpaceVim.d/init.toml
.
[[layers]]
name = "tools#cpicker"
Layer options
- default_spaces: set the default color spaces, the default value is
['rgb', 'hsl']
. Available spaces: rgb, hsl, hsv, cmyk.
Key bindings
Key Binding | Description |
---|---|
SPC i p c |
open color picker |
Commands
Instead of using key Binding, this layer also provides a Neovim command :Cpicker
which can be used in cmdline. For example:
:Cpicker rgb cmyk