Replies: 1 comment 7 replies
-
So, if you're using {
'mrjones2014/legendary.nvim',
dependencies = { 'folke/which-key.nvim' },
config = function()
-- load which-key and setup config
local wk = require('which-key')
wk.setup(opts)
-- load legendary and register which-key extension
local legendary = require('legendary')
legendary.setup({
-- other opts here
extensions = {
which_key = { auto_register = true },
}
})
-- register keymaps with which-key, now they will
-- be auto-loaded into legendary as well
wk.register(your_keymap_tables)
end
} |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, in mrjones2014/smart-splits.nvim#135 (reply in thread) you said:
so here it is ;-)
I have no idea on how to load which-key in lazy without the keymaps nor how to then load them in the end, I'm afraid
Beta Was this translation helpful? Give feedback.
All reactions