remove deprecated which-key conf
This commit is contained in:
parent
d9edfbb80b
commit
f3e2fe1e22
2 changed files with 13 additions and 63 deletions
|
@ -159,9 +159,6 @@ require("lazy").setup({
|
||||||
{ 'sheerun/vim-polyglot' },
|
{ 'sheerun/vim-polyglot' },
|
||||||
|
|
||||||
-- themes
|
-- themes
|
||||||
{
|
|
||||||
'Mofiqul/dracula.nvim',
|
|
||||||
},
|
|
||||||
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = true },
|
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = true },
|
||||||
|
|
||||||
--Fuzzy search by Telescope and its dependencies:
|
--Fuzzy search by Telescope and its dependencies:
|
||||||
|
|
|
@ -19,66 +19,19 @@ return {
|
||||||
g = true, -- bindings for prefixed with g
|
g = true, -- bindings for prefixed with g
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- add operators that will trigger motion and text object completion
|
--icons = {
|
||||||
-- to enable all native operators, set the preset / operators plugin above
|
--breadcrumb = "»", -- symbol used in the command line area that shows your active key combo
|
||||||
operators = { gc = "Comments" },
|
--separator = "➜", -- symbol used between a key and it's label
|
||||||
key_labels = {
|
--group = "+", -- symbol prepended to a group
|
||||||
-- override the label used to display some keys. It doesn't effect WK in any other way.
|
--},
|
||||||
-- For example:
|
--layout = {
|
||||||
-- ["<space>"] = "SPC",
|
--height = { min = 4, max = 25 }, -- min and max height of the columns
|
||||||
-- ["<cr>"] = "RET",
|
--width = { min = 20, max = 50 }, -- min and max width of the columns
|
||||||
-- ["<tab>"] = "TAB",
|
--spacing = 3, -- spacing between columns
|
||||||
},
|
--align = "left", -- align columns left, center or right
|
||||||
motions = {
|
--},
|
||||||
count = true,
|
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
|
||||||
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" },
|
|
||||||
},
|
|
||||||
-- disable the WhichKey popup for certain buf types and file types.
|
-- disable the WhichKey popup for certain buf types and file types.
|
||||||
-- Disabled by deafult for Telescope
|
-- Disabled by deafult for Telescope
|
||||||
disable = {
|
disable = {
|
||||||
|
|
Loading…
Reference in a new issue