mirror of
https://github.com/Ajetski/dotfiles.git
synced 2025-09-30 13:03:18 -09:00
add which-key (emacs keymap preview)
This commit is contained in:
parent
503bd435b1
commit
3113a9a31d
@ -110,4 +110,16 @@ return require('packer').startup(function(use)
|
|||||||
vim.keymap.set("n", "<leader>to", ":SymbolsOutline<cr>")
|
vim.keymap.set("n", "<leader>to", ":SymbolsOutline<cr>")
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
-- Lua
|
||||||
|
use {
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
config = function()
|
||||||
|
vim.o.timeout = true
|
||||||
|
vim.o.timeoutlen = 300
|
||||||
|
require("which-key").setup {
|
||||||
|
i = { "j", "k", "<space>", "<leader>" },
|
||||||
|
v = { "j", "k" },
|
||||||
|
}
|
||||||
|
end
|
||||||
|
}
|
||||||
end)
|
end)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user