Improved how which key is loaded
This commit is contained in:
parent
d0e7866ae9
commit
2862f6740d
1 changed files with 10 additions and 1 deletions
|
|
@ -1,6 +1,15 @@
|
||||||
return {
|
return {
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
lazy = false,
|
event = "VeryLazy",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>?",
|
||||||
|
function()
|
||||||
|
require("which-key").show({ global = false })
|
||||||
|
end,
|
||||||
|
desc = "Buffer Local Keymaps (which-key)",
|
||||||
|
},
|
||||||
|
},
|
||||||
init = function()
|
init = function()
|
||||||
vim.o.timeout = true
|
vim.o.timeout = true
|
||||||
vim.o.timeoutlen = 0
|
vim.o.timeoutlen = 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue