-
I translated the code block highlighted in red to the one in yellow box, following the keys setting of lazy.nvim. However, I'm able to get the keymap to work, and the plugin is not responding, either. May I ask how to specify a keymap in keys in lazy.nvim that include a function, rather than a cmdline cmd? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
folke
May 22, 2023
Replies: 1 comment 3 replies
-
You forgot |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That all looks fine, so if it's not working, you're doing something else wrong. Is the plugin even loaded? If you set
lazy=true
in your lazy opts, then you need to addlazy=false
here to have the plugin loaded