How do i add icons to custom keymap #840
Unanswered
Muizzyranking
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have set some keymaps and which key has auto assigned an icon for those mappings. I want to change those icons.
I have tried setting the icons in the config
This actually worked and changed the icon as I wanted but there are some issues. The keymaps are to be made available only when a condition is met (must be in a git repo). But changing the icon in the config like that shows the keys in which key pop up the when I hit the leader key.
also, I have tried setting it directly in my keymaps.lua file but I keep getting some error like wk is not found (I loaded keymaps before lazy). I switched the order and loaded lazy first and it is still another error.
I do not want to see the key when it is not available.
Beta Was this translation helpful? Give feedback.
All reactions