-
Notifications
You must be signed in to change notification settings - Fork 139
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
Accepting cmdline completion inserts excess --
when using selection = "auto_insert"
#702
Comments
--
when using selection = "auto_insert"
--
when using selection = "auto_insert"
I dont know if this is related or not, but when I am writing a command in Neovim, it is automatically popping up the suggestions but it was not like this before the recent update. How can I disable it? It should only appear on Tab like it used to. Edit: I figured out that unknowingly I was using nvim-cmp for cmd completions, and now that I am using blink.cmp. I want some changes. For example, I want to not trigger by default and only trigger on Tab. Is that possible? |
@itse4elhaam Sounds like you'll want to wait for #697 so you can disable |
@chrisgrieser I'm unable to reproduce this, could you provide an example file and maybe a video of it happening? |
Hey @Saghen, Can something like this work as a temporary workaround?
|
Yes! Very hacky so it might break in the future :) |
That did not work so I implemented this:
For some context: I have remapped my enter and tab both for completion but in the command line it just execs my current command instead of going to the selection. Just for reference:
|
sure, here is the video. (edit: video is using noice.nvim. However, just checked, with noice.nvim turned off, the behavior is the same.) Pasted.image.2024-12-21.at.21.51.44.mp4 |
Make sure you have done the following
blink.cmp
Bug Description
/
<C-n>
<C-y>
--
in theresomewhat related, the
enter
keymap preset together with the defaultselect = "preselect"
is also not ideal. It's technically not buggy, but pressing enter often selects an item, even though you intend to search for what you have currently typed.Relevant configuration
neovim version
NVIM v0.10.2
blink.cmp
version: branch, tag, or commit0.8.0
The text was updated successfully, but these errors were encountered: