More complex behaviour for selection/confirmation using enter (basically more like vscode) #1879
Unanswered
johannesrld
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to replicate the behaviour of vscode when selecting items using
<CR>
?For anyone who doesn't know what I'm talking about in vscode if I have a completion available like this:
pressing
<CR>
in this context would enter the completion and not move to the next line, while in the context of this image (where the completion is already fully spelt out anyways):pressing
<CR>
would move you to the next like as<CR>
usually doescurrently with my config if nvim-cmp has a completion shown (like while) and that completion is already fully spelt out in the buffer nvim-cmp will just close the completion list and not move you to the next line.
im aware that I might not have explain this well so if anyone who would like to help needs some clarification or a video or something please ask :)
Beta Was this translation helpful? Give feedback.
All reactions