Skip to content

Conversation

samirettali
Copy link

@samirettali samirettali commented Aug 9, 2025

Add options to map keys for requesting, accepting and clearing suggestions.

There are a couple of thing I'm not 100% sure how to handle in a correct way like <tab>/<c-i> and fallback for <esc> when mapped in normal mode.

Also, this assumes all keymaps in normal mode, should it be possible to map keys in all modes using options?

Maybe something like blink.cmp does:

keymaps = {
 ["n"] = {
   ["<tab>"] = { "jump_or_accept", "fallback" }
   ["<esc>"] = { "clear", "fallback" }
 }
}

The only breaking change as for now would be the debounce option.

@tris203
Copy link
Collaborator

tris203 commented Aug 9, 2025

Thanks for the contribution

However, I don't really want to go down this path of configuring keymaps etc in the plugin

I cant think of a strong advantage of this method of configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants