Replies: 2 comments 1 reply
-
I just used which-key to set up keymaps for nvim-hop yesterday. I did it directly in the plugin script where I installed hop, rather than splitting it to a different script. That worked for me. Here's what I did: https://github.com/santoso-wijaya/lazyvim-config/blob/6f20c610f966edc56cc4181ad156246f67b1f341/lua/plugins/hop.lua#L41-L57 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is the keymaps file being run before the plugin files? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I just started on my Nvim journey and I'm having some difficulty getting which-key setup.
Here is my Nvim file tree:
![nvim-tree](https://private-user-images.githubusercontent.com/981383/313856804-f252cbc6-d397-4c86-a909-131018e12505.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MTU3MjUsIm5iZiI6MTcxOTkxNTQyNSwicGF0aCI6Ii85ODEzODMvMzEzODU2ODA0LWYyNTJjYmM2LWQzOTctNGM4Ni1hOTA5LTEzMTAxOGUxMjUwNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMlQxMDE3MDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kZTI5MzNmZDk4NmRlYzg3MTc4NDIxNjA5YjM4YmQ4YmJiNzc2OGQ0ODdjMzRkZDBjMGQ1NTQxYzg2ZWRiZTgyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.9r6u2Dz2FjwaGb1JWzGIY4qmTvUswtCrVP3Pfz4TWeo)
plugins/which-key.lua I have:
config/keymaps.lua:
But I get an error, which I'm not sure how to resolve it:
checkhealth which-key:
Can someone please describe what I'm doing wrong? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions