Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

company-box change my tab behavior in tooltip. #146

Open
zw963 opened this issue Dec 27, 2020 · 0 comments
Open

company-box change my tab behavior in tooltip. #146

zw963 opened this issue Dec 27, 2020 · 0 comments

Comments

@zw963
Copy link

zw963 commented Dec 27, 2020

I use following code to try to use company like auto-complete.

(define-key company-active-map [tab] 'company-select-next-if-tooltip-visible-or-complete-selection)
(define-key company-active-map (kbd "TAB") 'company-select-next-if-tooltip-visible-or-complete-selection)

e.g. when press TAB in tooltip, instead of complete current candidate, it select next candidate.

But, after enable company-box, TAB's behavior change to complete current candidate.

What i expected:

I hope i can use company-box, but without change my previous TAB behavior. (select next candidate)

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant