pechorin / any-jump.vim

Jump to any definition and references πŸ‘ IDE madness without overhead πŸš€
1.07k stars 40 forks source link

Improves menu selection mechanics (regular vim) #75

Closed dsabsay closed 3 years ago

dsabsay commented 3 years ago

This fixes the issue described in #58. When opening the popup window, the cursor is now moved to the first link item in the list. Additionally, when j/k are pressed, any non-link menu items are skipped over.

I've implemented and tested with regular terminal vim 8.2. I'm not sure if Neovim had this problem or not.

airblade commented 3 years ago

Solves the problem for me (Vim 8.2) – thanks @dsabsay!

tristandunn commented 3 years ago

Works for me in vim 8.2.1750 as well and honestly makes the plug-in a 100% more useful. Would be great to get this merged.

Thanks @dsabsay!

pechorin commented 3 years ago

Sorry for delay, thanks for work, but this doesn't work in this scenario:

Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2020-12-08 Π² 02 03 53

I can't select [10 more]

Also it's stop working on long lists (more then ~30 items)

Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2020-12-08 Π² 02 05 34

Sorry for big delay, i think now i could do approvement without delays (1-2 days max)

pechorin commented 3 years ago

Also, cursor starting position fixed in https://github.com/pechorin/any-jump.vim/pull/79