kelly-lin / ranger.nvim

Ranger plugin for neovim
MIT License
152 stars 13 forks source link

Escape key does not work #22

Open make-github-pseudonymous-again opened 2 months ago

make-github-pseudonymous-again commented 2 months ago

I usually use the Esc key to cancel pending ranger shortcuts. When I press Esc in a ranger.nvim buffer I see this:

2024-08-17-090150_1045x138

If I press Esc again it puts the buffer in an unusable state. If I press Backspace the buffer is usable again.

If I use q instead of Esc this prompt does not show and everything works as expected.

PerchunPak commented 2 months ago

On the screenshot is which-key plugin. If you unbind this, everything will work. which-key started to intercept keymaps, when before you could wait for 0.5s and keymap would be passed to the terminal (don't know the reason, I just rebinded it to F1).

make-github-pseudonymous-again commented 2 months ago

So I guess this can be closed. Do you know if there is a corresponding issue opened in which-key already?

PerchunPak commented 2 months ago

Unfortunately, no. If you will find, please let me know if you can. I would appreciate it