plugins moved
This commit is contained in:
parent
1e87076ba6
commit
babc5ef64e
10 changed files with 533 additions and 558 deletions
18
lua/kickstart/plugins/which-key.lua
Normal file
18
lua/kickstart/plugins/which-key.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
-- Useful plugin to show you pending keybinds.
|
||||
|
||||
return {
|
||||
'folke/which-key.nvim',
|
||||
event = 'VimEnter',
|
||||
config = function()
|
||||
require('which-key').setup()
|
||||
|
||||
-- Document existing key chains
|
||||
require('which-key').register {
|
||||
['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
|
||||
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
|
||||
['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' },
|
||||
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
|
||||
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
|
||||
}
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue