-
Notifications
You must be signed in to change notification settings - Fork 174
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
Custom hint commands #654
Comments
So what I want to do: there is a useful extension called mpv-youtube-dl-binding |
That's not possible, and I have no intention to support it. I suggest doing the following:
|
i love mpv-youtube, i would love to see this feature as well. pressing |
@dcrystalj, I did it writing custom command. It also has this feature integrated. Feel free to check it out 😃 |
sir i set:
it does nothing. |
Hmm... It might be an issue with a new extensions signing thing:
So, if switching off the |
That has nothing to do with this.
That’s the wrong location. You probably meant something like
You have to set It sounds like you have one or more of the following problems:
I’d recommend that you start with following the setup instructions a bit more closely and just try to get your config add-on installed and running. Check the Add-ons Manager and the browser console! Then try to add @Anon1234’s custom command. |
My first idea was to use `vim.enterMode('hints', ...)`. However, that's too complicated to be useful for any user. Actually, I found that `vim.enterMode(...)` is too complicated for most (all?) modes, so I decided to make it private (removing it from the public API) while at it. (I also made the arguments of `vim.enterMode`/`mode.onEnter` more consistent with each other.) I also considered exposing the entire "API" that the `f` commands use internally. However, that's more complicated than the average user needs, and would increase the API surface _a lot._ Instead, the `f` commands now take a `callbackOverride` argument. This lets you choose the `f` command that matches the elements you're looking for and the override what happens when a hint marker is matched. Fixes #785. Fixes #654.
FYI, I just added support for custom hints commands. |
I'd like to know how to make my extension to be compatible with VimFx.
The text was updated successfully, but these errors were encountered: