-
Notifications
You must be signed in to change notification settings - Fork 4
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
Allow the disabling of the default keymaps #77
Comments
Hi @AdeAttwood, is this something you want implemented? |
I am not completely opposed to this. I am not a fan of the hole The main goal for this will be to maintain simple API with minimal configure options. I have some time this weekend, so I will get the test suite moved over to busted and get some better tests added for the register backend. |
Thanks!
And then I can also set new keymaps for Ivy itself with by making a
|
Also a quick question: I suppose I will just have to kick the habit of typing spaces while searching? And thanks a lot for this plugin, it works like a charm and looks really good! |
@arnevm123 I have done a sample of what I think this API could look like. I would appreciate you taking it for a spin and letting me know if it will do what you want it to. I don't know if you will need to disable the lazy loading of the plugin.
Yea when I move over to rust I went for a fuzzy lib rather than the old cpp algo that was adapted to work more like fzf. Currently, the word boundary needs to be the same to be a match. So instead of using spaces, you can use |
@AdeAttwood
Results in this:
I don't really see an easy way around this without exposing the setup function, but I can personally live with disabling and enabling keymaps 😄 Lazy loading did not really have an effect on this, as Lazy always loads the plugin which will always result in a call to the setup function. Once the code is loaded it calls the setup function. |
@arnevm123, this one has been sorted in #81. I have also created a new ticket for the key map configuration. |
Problem to solve
Currently the default keymaps are always set. It would be nice to let the user decide if they want the default keymaps.
Proposal
Most plugins use a setup function that takes in a config, not sure what your vision on this would be, as ivy.nvim does not seem to have one as of now.
The text was updated successfully, but these errors were encountered: