add(nvim): color-picker

This commit is contained in:
Léana 江 2023-11-19 12:38:54 +01:00 committed by Léana 江
parent 66efc4acca
commit d18c31e58c
4 changed files with 21 additions and 0 deletions

View file

@ -116,3 +116,9 @@ autocmd("FileType", {
pattern = "undotree",
callback = function() map("n", "<leader>gb", ":q<CR>", { buffer = true }) end,
})
-- color-picker
local opts = { noremap = true, silent = true }
map("n", "<C-c>", "<cmd>PickColor<cr>", opts)
map("i", "<C-c>", "<cmd>PickColorInsert<cr>", opts)