How do you customise keymaps with which-key? #119
Unanswered
stefanocoretta
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This should work just fine if you define it in local wk = require("which-key")
wk.register({
["<leader>cr"] = { "<cmd>lua require('r.run').start_R('R')<cr>", "New [r] terminal" },
}) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I wonder if you could help. I am new to Nvim and still not quite sure how to do certain stuff.
I want to set my own keybindings, so I set
user_maps_only = true
and that has worked, but now I can't figure out how to set keybindings with which-key.I tried the following but it doesn't work.
Beta Was this translation helpful? Give feedback.
All reactions