Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: