astronvim/which-key/register.lua
2023-01-20 10:54:22 +01:00

14 lines
410 B
Lua

return {
-- first key is the mode, n == normal mode
n = {
-- second key is the prefix, <leader> prefixes
["<leader>"] = {
-- third key is the key to bring up next level and its displayed
-- group name in which-key top level menu
["b"] = { name = "Buffer" },
["P"] = { "<cmd>Telescope projects<cr>", "projects" },
["."] = { "<cmd>Ranger<cr>", "ranger" },
},
},
}