mikavilpas / yazi.nvim

A Neovim Plugin for the yazi terminal file manager
MIT License
214 stars 7 forks source link

fix: exiting insert mode with "<esc><esc>" #117

Closed mikavilpas closed 2 weeks ago

mikavilpas commented 2 weeks ago

For me, the following bug was happening:

This only happens once in the neovim session.

It was possible to work around this issue by pressing i to seemingly enter insert mode again 😄

This commit works around the issue by always entering insert mode when the mode changes.

This seems like a pretty stupid solution, so let's hope it causes no problems 🤞🏻