Closed tan-wei closed 11 months ago
Cannot reproduce.
Enter pick mode, and select a element, then popup menu is shown.
Now we can not exit pick mode
Not sure what do you mean here. Pick mode can be exited with <Esc>
; after selecting a element, e.g. after the drop-down menu is shown, you should immediately exit pick mode.
Sorry it is not that clear.
I think your understanding is exactly mine. I upload a gif to help me describe this:
First time I try to strike several
I try it on different neovim version, it just behaves the same.
@tan-wei Please use the mininal config for demo.
OK, I'll try.
Hmm, minimal config could reproduce this:
After the drop-down menu is shown,
Cannot reproduce. From the gif provided it seems that the pick pivots (the letters in red) disappear after a drop-down menu is opened, as expected -- so you should have already exit pick mode then. What exactly bugs you here?
and I strike many times here
Do you mean that nvim does not respond to your key strikes?
(you can see warnings that the current buffer is not saved) by strike .
What keys did you pressed? It is not clear from the GIF so I could not trigger the warning on my end.
P.S. Could you please upload videos instead of GIFs? It will be more convenient for me to stop and see the error messages. Thanks.
OK, I will upload a video with showing the key I input then.
From the gif provided it seems that the pick pivots (the letters in red) disappear after a drop-down menu is opened, as expected -- so you should have already exit pick mode then. What exactly bugs you here?
There may be some misunderstandings here. Yes, before we pick a pivot, it can exit pick mode by strike
The error messages shown on the GIF are not related to the issue. It is just because:
@tan-wei Drop-down menus are just floating windows, use :q
, :bd
, <C-w>c
or any other ways you prefer to close a drop-down window. If you would like to use <esc>
to close a drop-down menu, remap it to <C-w>c
or something equivalent.
Got it, it is a float window. Thanks for replying. The issue should be closed.
Description
When entering interactive pick mode, we can't exit the pick mode when the selecting pop menu is shown.
nvim version
NVIM v0.10.0-dev-1303+g61f1e992ce
dropbar.nvim version
Bekaboo/dropbar.nvim
Operating system and version
Linux archlinux 6.1.56-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 06 Oct 2023 14:13:03 +0000 x86_64 GNU/Linux
Minimal config
Steps to reproduce
Enter pick mode, and select a element, then popup menu is shown.
Now we can not exit pick mode, despite we
ESC
or something else.Expected behavior
We could exit pick mode at any step.
Actual behavior
Any key will not exit pick mode, except:
Additional information
No response