Hacker News new | ask | show | jobs
by davisoneee 1005 days ago
If you have a reasonably long `updatetime`, you could try something like `autocommand CursorHoldI * stopinsert`.

On both vim and nvim, updatetime is 4 seconds, so if you have 4 seconds of inactivity that autocommand will automatically put you back into normal mode.