Files
astronvim_config/which-key/register.lua
Ismo Vuorinen e3fa6772f0 Config updates
2023-02-16 16:19:49 +02:00

15 lines
441 B
Lua

-- Modify which-key registration
-- Add bindings which show up as group name
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
-- ["n"] = { "<cmd>tabnew<cr>", "New Buffer" },
-- ["z"] = { "<cmd>ZenMode<cr>", "Zen Mode" },
-- },
-- },
}