mirror of
https://github.com/ivuorinen/astronvim_config.git
synced 2026-02-06 11:46:02 +00:00
Astronvim config from kabinspace/AstroNvim_user
This commit is contained in:
14
which-key/register.lua
Normal file
14
which-key/register.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
-- 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" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user