nvim: update which-key naming groups to new format
This commit is contained in:
parent
cf729da8ef
commit
5b421c7999
@ -6,13 +6,13 @@ return {
|
|||||||
require('which-key').setup(opts)
|
require('which-key').setup(opts)
|
||||||
|
|
||||||
-- Document existing key chains
|
-- Document existing key chains
|
||||||
require('which-key').register {
|
require('which-key').add {
|
||||||
['<leader>c'] = { name = '[C]ode/Color', _ = 'which_key_ignore' },
|
{ "<leader>c", group = "[C]ode/Color" },
|
||||||
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
|
{ "<leader>d", group = "[D]ocument" },
|
||||||
['<leader>g'] = { name = '[G]it', _ = 'which_key_ignore' },
|
{ "<leader>g", group = "[G]it" },
|
||||||
['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' },
|
{ "<leader>r", group = "[R]ename" },
|
||||||
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
|
{ "<leader>s", group = "[S]earch" },
|
||||||
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
|
{ "<leader>w", group = "[W]orkspace" },
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user