Company mode up/down keys reversed

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Company mode up/down keys reversed

Jonathon McKitrick
I'm seeing an odd behavior where when the completion candidates appear, the up and down selection keys do the opposite of what is expected. Any ideas what might cause that?

here's my current setup:

(setq company-idle-delay 0.01
      company-show-numbers t
      company-tooltip-limit 10
      company-tooltip-align-annotations t
      company-minimum-prefix-length 2
      company-selection-wrap-around t
      company-selection-changed t
      company-tooltip-flip-when-above nil
      company-require-match nil
      company-quickhelp-max-lines 60
      pos-tip-border-width 0)

(company-quickhelp-mode 1)
Reply | Threaded
Open this post in threaded view
|

Re: Company mode up/down keys reversed

Dmitry Gutov
On 10/12/17 4:18 PM, Jonathon McKitrick wrote:
> company-selection-wrap-around t

This.

Reply | Threaded
Open this post in threaded view
|

Re: Company mode up/down keys reversed

Jonathon McKitrick
In reply to this post by Jonathon McKitrick
On Thursday, October 12, 2017 at 9:35:06 AM UTC-4, Dmitry Gutov wrote:
> On 10/12/17 4:18 PM, Jonathon McKitrick wrote:
> > company-selection-wrap-around t
>
> This.

That was it, thanks.

But why would the wrap-around behavior reverse the keys?
Reply | Threaded
Open this post in threaded view
|

Re: Company mode up/down keys reversed

Dmitry Gutov
On 10/18/17 2:30 PM, Jonathon McKitrick wrote:

> But why would the wrap-around behavior reverse the keys?

<Down> moves to the next element in the list. wrap-around reverses how
the list is displayed.