Closed amenrio closed 1 month ago
have you checked that you don't have a key map re-binded somewhere?
I can look into it but I don't know if I'm missing something...
What is the expected use?
I have set up the keybinds in the README, all those commands open Huez in INSERT mode, pressing \<C-c>, \<Esc> and so just closes Huez.
What key(s) is supposed to put me back into normal mode?
Usually in telescope when pressing
Yes telescope works fine, that's why I was confused thinking that I must have missed something (Wouldn't be the first nor the last time).
Huez is behaving differently. Pressing \<Esc> just closes any Huez window.
I'll look into this then, maybe there was an error on my part with the implementation of the mapping's actions. I'll ping you if that ok
Sorry if I'm completely mistaken. I dont know lua that much nor telescope or your plugin, but based just on function names, I found this:
Maybe I'm completely wrong tho. but maybe it was helpful
Yes, this was the intended behavior because I have <esc>
in insert mode binded to <jk>
but did not realize that hitting the actual escape key in insert mode while in the picker, will close the picker outright.
I will fix this a little later today, thanks for the issue!
Changed the title to be more precise and explanatory.
@amenrio I Tested the changes on my end and escaping from insert mode now goes into normal mode, letting you close the picker from normal mode.
Let me know if this was the behavior you were expecting.
Yes! That's it! Thank you for fixing it that quickly and good luck going forward!
Reading the new documentation, I noticed that there are some commands listed for normal mode, but I'm always in insert and any command to enter normal mode just closes Huez