I was trying out nvim (neovim) for the first time and I find that I have to type <escape>
twice to get out of insert mode.
I'm not sure if this is a feature or a bug. I see the same behaviour on both Mac and Linux (i.e. escape, followed by a move command such as 'k', inserts a k in my buffer).
Is there a way to configure this editor to use a single escape instead of two to get to NORMAL mode?
EDIT: I'm not using tmux (at least not explicitly). I'd tried the tmux method of changing the timeout, but it produced a syntax error, so I wasn't sure that was the issue. However, the issue I am seeing does appear to be timeout related nonetheless. If I wait (an unnaturally long time compared to what I am used to), the editor does switch back to normal mode.
EDIT2.1: The software I am using is: Mac terminal + ssh + screen + nvim. Initially it seemed like adding a .tmux.conf file (on my mac) with 'set -s escape-time 0' in it fixes this issue (on the mac), but I still see escape delays with terminal+ssh+screen+nvim and cause me to mess up my editing session after hitting escape and not waiting long enough.
tmux
: neovim (and vim too) has a delay when pressing the<esc>
key. 2 presses are not required, it is just a delay.