- Neovim with mouse enabled
- 2 windows, one with some normal buffer, another with terminal
- You are in the terminal window, hacking away in terminal mode
- You click the other window with the mouse
What happens now is that neovim will switch to another window, but at the same time the previous terminal window will leave the terminal mode and return to the normal mode. Meaning that when I decide to return to the terminal window, I have to press an additional key to enter into terminal mode again.
Is it possible to prevent this? All I want is the terminal window to stay in the same mode when I leave it.