Pressing left and right arrow keys selects previous and next completions in cmdline completion. #1738
-
Been happy with the plugin for a while now, but recently I'm facing this very annoying issue (stated in the title). Is there any way to fix this ?? I already have set the keymaps for cmdine like this: ...
keymap = {
preset = nil,
["<tab>"] = { "show_and_insert", "select_next" },
["<m-j>"] = { "select_next" },
["<s-tab>"] = { "select_prev" },
["<m-k>"] = { "select_prev" },
["<left>"] = { "fallback" },
["<right>"] = { "fallback" },
},
... what am I doing wrong ?? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The thing is I was facing this issue like a month ago too =, but setting |
Beta Was this translation helpful? Give feedback.
-
What's your initial intention to have set Because this is likely your issue here. |
Beta Was this translation helpful? Give feedback.
What's your initial intention to have set
preset = nil
?Because this is likely your issue here.
If you want to disable all default cmdline keymap, use
'none'
instead.See https://cmp.saghen.dev/modes/cmdline.html#keymap-preset