nvim-cmp icon indicating copy to clipboard operation
nvim-cmp copied to clipboard

Key mapping to select first snippet completion

Open dohsimpson opened this issue 6 months ago • 0 comments

Thanks for this amazing plugin! I want to ask if there is a way to achieve something like this:

When there are multiple completion choices, I want to select the first choice that is snippet kind (e.g. luasnip). Preferrably, this can be done with a key mapping, so that I don't need to press next multiple times to select it first.

And I don't want to change my sorting order because snippet is often not my first choice. But sometimes I just want to expand a snippet.

dohsimpson avatar Aug 04 '24 18:08 dohsimpson