quangnguyen30192 / cmp-nvim-ultisnips

nvim-cmp source for ultisnips
Apache License 2.0
144 stars 19 forks source link

Feat: Add 'jump_forwards' mapping preset. #88

Closed schilkp closed 1 year ago

schilkp commented 1 year ago

Hi!

I sometimes have multiple snippets that have a similar name, and I would like to cycle through them in the cmp suggestion popup using tab. The default/recommended expand_or_jump_forwards does not allow this:

before

This adds a jump_forwards mapping "preset", which does not expand on tab:

after

Let me know if anything needs to be changed or you don't feel this is needed - I am happy to keep having a 'compose' in my config.

Thanks for the great plugin!

smjonas commented 1 year ago

LGTM

quangnguyen30192 commented 1 year ago

Great that you find it useful and contribute to it