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

Completion menu does not close when pressing up or down arrow keys #10577

Closed
inifares23lab opened this issue Apr 24, 2024 · 1 comment
Closed

Comments

@inifares23lab
Copy link

inifares23lab commented Apr 24, 2024

pr #8021 solves issue #2581.
To my understanding this means that if the completion menu is open and I type the completion menu should close.
However this does not happen, and the arrow keys scroll through the completion options.
Is this a bug or is it intended?

Platform: Fedora Linux 39
Terminal: Alacritty 0.13.2
Helix: 24.3 (e18b772) - this is the current master, possibly before it had the same behaviour, not sure..

I have tried not changing the keymaps as well as the following configs in [keys.insert]:

up = [ "normal_mode", "move_line_up", "insert_mode" ]
down = [ "normal_mode", "move_line_down", "insert_mode" ]
up = "normal_mode"
down = "normal_mode"
up = no_op
down = no_op

Personally I would like to use the arrow keys in insert mode purely for navigating the code and cycle completions with Tab, S-Tab, C-n, C-p or similar.

@pascalkuthe
Copy link
Member

insertmode is not intended for navigation so its not a focus.

We closed that issue because we will not be going forward with further changes and the motivation for that issue (moving in insertmode causing ciee corruption) has been resolved.

The current bindings are intentional and can currently not be recapped. That will be covered by #5505

@pascalkuthe pascalkuthe closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
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

2 participants