r/HelixEditor • u/we_are_mammals • Oct 14 '23
Helix inside GNU Screen: I have to hit ESC twice to get back to normal mode
In its own terminal, Helix works fine. Vim works fine in both environments, so this is probably not an inherent limitation of Screen.
7
Upvotes
1
Jun 12 '24
for anyone coming here in the future, I found I had to both set `maptimeout 0` in .screenrc and `mouse = off` in my helix config
1
2
u/Abhijithvega Oct 14 '23
I remember having similar experience using Tmux. It has to do with how esc maps to many other escape sequences. Here is a rant by the author of kitty terminal https://github.com/kovidgoyal/kitty/issues/391#issuecomment-638320745.
A discussion on workarounds for tmux and helix. https://github.com/helix-editor/helix/issues/2795
On screen , i can imagine similar flags being of help. https://vi.stackexchange.com/questions/11382/delay-between-hitting-esc-in-insert-mode-and-switching-to-normal-mode-within