-
Notifications
You must be signed in to change notification settings - Fork 19
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
Better keymap config #15
Comments
I hope this will add the ability to use |
How do I disable a key binding I cant figure it out? Tried setting close to "", {}, nil, {""}, {nil}, am i missing something?
|
Hi @Ajaymamtora, it says on in the docs that you can set to https://github.com/hedyhli/outline.nvim?tab=readme-ov-file#default-options |
I will be adding "mapping" key that introduces a new style of config for keymaps, similar to how it's done in nvim-cmp.
Rather than having the actions as keys and key sequence as value, we will have the other way around. this makes it easier to disable keymaps as well as letting user customize keymaps to use their own functions
The existing keymap will be supported due to the major breaking change if it were otherwise. the config module will handle converting keymaps table to new mappings table, if the user provided them
Not sure on the specifics of what should be used on the RHS. Maybe if rhs is a string, it is considered a default action. rhs could also be a function.
The text was updated successfully, but these errors were encountered: