-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Plug> functions or something similar to use to configure mappings #222
Comments
You can set
then map the plugs yourself (but The plugs should be listed in For buffer mappings currently it isn't possible though. I'll probably add an option to skip all mappings, letting you assign them from the ground up, including buffer mappings. But I make no promise on this because it is pretty complicated, given the number of mappings/plugs that must be applied. |
Thank you @mg979 for your reply
Not exactly sure what I should be looking for So, to test I did this:
And when I press So, If I keep repeating Is there something I'm missing? |
It should be
without |
Great, thanks @mg979 , gonna close this then Just one question: where are these "functions" mentioned in |
|
Hmm, I don't seem to have the help topic 🤔 I have |
There is, maybe you have to update the help tags.
|
Hey @mg979 , question for you: I'm trying to integrate the plugs with folke/which-key, and I see issues. At first, I thought it's because Do you know if I can basically integrate this mapping into Thank you in advance |
When leaving current buffer, VM exits, yes. I see which-key has already some attempt at compatibility, but it's not robust. Maybe you have changed the mapping to reselect regions? |
The issue you had should be fixed (update which-key plugin), reopen if it isn't. |
I don't think I've changed it, but not sure which mapping that is 🤔
It indeed seems to be fixed 🎉 So, @mg979 , there are some other plugins similar to which-key (such as key-menu). Does this change mean that the upstream code has to change to adopt visual multi, or can I configure something on my side only (maybe the reselect regions thing you mentioned)? |
Hey @mg979 , didn't hear back from you, so I have another issue for you 🙂 I'm using hydra.nvim to do my VM "tasks", and I can successfully do However, I tried to add
Or, for
I'm calling them all the same:
Do you think there's something I need to do to avoid those errors? |
The plugs work with |
Thank @mg979 , it seems like that I couldn't make things work by using Hydra or which-key. I think I'll end up using the VM leader and see if things work as I want them |
Describe the issue:
Hi, this is more of a question rather than a "real" issue. I'm a BIG fan of this plugin, and I use it almost every minute.
I'm in the process of doing an overhaul of my config, and, looking at the mapping options in the Wiki, I just realized that the plugin has WAY MORE potential than what I'm currently using.
However, because I'm using
which-key
and smiliar things, I've set mytimeoutlen
to300
, which makes it very hard to use this plugin's leader in a key combination.I was wondering if there are
<Plug>
functions (or another method) similar to other plugins that I can directly map myself.PS: I didn't fill all the template fields for an issue. Please let me know if you want me to do that
PS 2: I know I can directly assign
g:VM_maps[<the-thing-I-want>]
to a key without the leader, but going through the mappings in the Wiki (and considering the large number of other plugins I have), I'm pretty sure I'll get a conflict after setting a few of these.Steps to reproduce
The text was updated successfully, but these errors were encountered: