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

Fixed Enter key behavior and added toggles #95

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Lyqed
Copy link

@Lyqed Lyqed commented Dec 31, 2024

Fixed Enter key behavior and added toggles. Previously, Enter would only bypass to create a new line when popup wasn't focused, which was unintuitive since the first suggestion is just the current word. Now Enter properly creates a new line when no real suggestion is selected (ignoring the first one which is just the current word). Added settings to control both behaviors: "Hide current word suggestion" toggle to remove the redundant first suggestion entirely, and "Enter creates new line" toggle to control whether Enter should create a new line when no suggestion is selected. Both enabled by default for a cleaner UX.

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

Successfully merging this pull request may close these issues.

1 participant