[vim/vim] ^X^L suggests things backwards (Discussion #18857)

2 views
Skip to first unread message

Alex Sokol

unread,
10:09 AM (6 hours ago) 10:09 AM
to vim/vim, Subscribed

I know that not many people use this type of suggestion, but for me this turned out to be very important. I don't use LSPs yet I work in JVM Ecosystem, therefore there are a lot of imports. I also have to write them. And right now I got to the point where I import stuff faster than IDE can: 2ggimport^X^Lclass^Y^O (usually 2ggimp^X^Lclass^Y^O is enough).

But I am tired of that thing suggesting results from the least relevent:

Screenshot.2025-12-03.at.18.04.25.png (view on web)

See? The selected thing is the least relevant. It doesn't even spell import. But if you type ^N^N it will show relevant things:

Screenshot.2025-12-03.at.18.05.28.png (view on web)

Interestingly, if I type imp^X^Lo (I triggered suggestions and then added 'o') it starts sorting in the 'right' way. So its at least inconsistent. I don't understand why the default selection is the last one, and then when I type something, it's the top one which is the first.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/repo-discussions/18857@github.com>

Reply all
Reply to author
Forward
0 new messages