remove deprecated which-key conf
Some checks failed
Build neovim image / update-images-manifest (push) Has been cancelled
Build neovim image / build-neovim-arm64 (push) Has been cancelled
Build neovim image / build-neovim-amd64 (push) Has been cancelled

This commit is contained in:
Maciej Lebiest 2024-07-25 13:57:09 +02:00 committed by Maciej Lebiest
parent d9edfbb80b
commit f3e2fe1e22
2 changed files with 13 additions and 63 deletions

View file

@ -159,9 +159,6 @@ require("lazy").setup({
{ 'sheerun/vim-polyglot' },
-- themes
{
'Mofiqul/dracula.nvim',
},
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = true },
--Fuzzy search by Telescope and its dependencies:

View file

@ -19,66 +19,19 @@ return {
g = true, -- bindings for prefixed with g
},
},
-- add operators that will trigger motion and text object completion
-- to enable all native operators, set the preset / operators plugin above
operators = { gc = "Comments" },
key_labels = {
-- override the label used to display some keys. It doesn't effect WK in any other way.
-- For example:
-- ["<space>"] = "SPC",
-- ["<cr>"] = "RET",
-- ["<tab>"] = "TAB",
},
motions = {
count = true,
},
icons = {
breadcrumb = "»", -- symbol used in the command line area that shows your active key combo
separator = "", -- symbol used between a key and it's label
group = "+", -- symbol prepended to a group
},
popup_mappings = {
scroll_down = "<c-d>", -- binding to scroll down inside the popup
scroll_up = "<c-u>", -- binding to scroll up inside the popup
},
window = {
border = "single", -- none, single, double, shadow
position = "bottom", -- bottom, top
margin = { 1, 0, 1, 0 }, -- extra window margin [top, right, bottom, left]
padding = { 1, 2, 1, 2 }, -- extra window padding [top, right, bottom, left]
winblend = 0, -- value between 0-100 0 for fully opaque and 100 for fully transparent
},
layout = {
height = { min = 4, max = 25 }, -- min and max height of the columns
width = { min = 20, max = 50 }, -- min and max width of the columns
spacing = 3, -- spacing between columns
align = "left", -- align columns left, center or right
},
ignore_missing = false, -- enable this to hide mappings for which you didn't specify a label
hidden = { "<silent>", "<cmd>", "<Cmd>", "<CR>", "^:", "^ ", "^call ", "^lua " }, -- hide mapping boilerplate
show_help = true, -- show a help message in the command line for using WhichKey
show_keys = true, -- show the currently pressed key and its label as a message in the command line
triggers = "auto", -- automatically setup triggers
-- triggers = {"<leader>"} -- or specifiy a list manually
-- list of triggers, where WhichKey should not wait for timeoutlen and show immediately
triggers_nowait = {
-- marks
"`",
"'",
"g`",
"g'",
-- registers
'"',
"<c-r>",
-- spelling
"z=",
},
triggers_blacklist = {
-- list of mode / prefixes that should never be hooked by WhichKey
-- this is mostly relevant for keymaps that start with a native binding
i = { "j", "k" },
v = { "j", "k" },
},
--icons = {
--breadcrumb = "»", -- symbol used in the command line area that shows your active key combo
--separator = "➜", -- symbol used between a key and it's label
--group = "+", -- symbol prepended to a group
--},
--layout = {
--height = { min = 4, max = 25 }, -- min and max height of the columns
--width = { min = 20, max = 50 }, -- min and max width of the columns
--spacing = 3, -- spacing between columns
--align = "left", -- align columns left, center or right
--},
show_help = true, -- show a help message in the command line for using WhichKey
show_keys = true, -- show the currently pressed key and its label as a message in the command line
-- disable the WhichKey popup for certain buf types and file types.
-- Disabled by deafult for Telescope
disable = {