blink.cmp icon indicating copy to clipboard operation
blink.cmp copied to clipboard

cmdline fallback for `<Esc>` sometimes invokes the command

Open djdv opened this issue 2 months ago • 2 comments

Make sure you have done the following

  • [X] I have updated to the latest version of blink.cmp
  • [X] I have read the README

Bug Description

When I define

keymap = { cmdline = { ['<Esc>'] = { 'cancel', 'fallback' } } }

typing :q followed by <Esc><Esc> will invoke :q for some reason. When 'fallback' isn't used, this doesn't seem to happen but then you can't exit the command-line with Esc.

More detail: https://youtu.be/DBc5DhH0moA

Relevant configuration

keymap = { cmdline = { ['<Esc>'] = { 'cancel', 'fallback' } } }

neovim version

NVIM v0.11.0-dev-1351+gf9dd682621 Build type: Release LuaJIT 2.1.1732813678

blink.cmp version: branch, tag, or commit

97989c8

djdv avatar Dec 13 '24 21:12 djdv