selectrum icon indicating copy to clipboard operation
selectrum copied to clipboard

How can I change the scrolling behavior?

Open grolongo opened this issue 4 years ago • 1 comments

Hi,

Is it possible for the minibuffer to start scrolling down only when selection hits the last line displayed? As it is by default it starts scrolling candidates as soon as you reach half the minibuffer lines. I didn't find any option in the customize-group to modify this.

Not sure if I'm very clear in my explanations, let me know if you need me to be more precise.

Thanks for your help.

grolongo avatar Oct 05 '20 16:10 grolongo

It makes sense to me. I don't believe we have a way of providing this feature currently, but I would have no objection to an option being added to allow this behavior. It would be a conditional to change the index computations in the post-command hook in the minibuffer when we decide which candidates to display. It might be a little more tricky since we will want a hysteresis effect (i.e., the same thing happens when scrolling up as when scrolling down, instead of your cursor always being stuck to the bottom of the minibuffer), but should be not too hard.

raxod502 avatar Oct 06 '20 14:10 raxod502