News for hackers. Stuff that matters.
Re:Vim's 400 line function to wait for keyboard input by nanofortnight on Wednesday July 15, 2015 @05:04PM (#9894073)
This is not a bug in vim. This is because Esc was historically used as a Meta key in lieu of the modern use of Alt.

For example, if you use tmux, add the following to .tmux.conf:

    set -s escape-time 0
Other terminal multiplexors and emulators have different commands for this.

Edit: There are a few other possible issues you are having: http://www.johnhawthorn.com/2012/09/vi-escape-delays/

Re:Vim's 400 line function to wait for keyboard input by hkmix on Wednesday July 15, 2015 @07:40PM (#9894718)
In vim, set separate timeout and ttimeout values to get around this. Specifically, set the former high fit regular commands and the latter low to avoid issues like slow Esc processing.