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

Enter to select completion #316

Closed
AndreiSva opened this issue Sep 11, 2023 · 2 comments
Closed

Enter to select completion #316

AndreiSva opened this issue Sep 11, 2023 · 2 comments

Comments

@AndreiSva
Copy link

I know this is probably not the right place to post this but I've been wondering if there's any way to get nvim-cmp to enter the selected completion when I hit enter? With the default bindings it seems like pressing enter just creates a new line.

@VonHeikemen
Copy link
Owner

There is a way. You can find the details in the documentation: Use Enter to confirm completion

@AndreiSva
Copy link
Author

this is exactly what i was looking for! thanks!

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