Why does it take a second or more for Vim to process a key,

sometimes when I press a key? Make sure you have not defined a mapping for this key using the following command:


If a mapping is defined for this key and the mapped key contains more than one character, then Vim will wait for the next character to be pressed to determine whether it is the mapped key or not. For example, if you have mapped “ab”, then if you press “a”, Vim will wait for the next key to be pressed. If the next key is “b”, Vim will execute the mapped sequence. Otherwise, Vim will proceed with the normal processing of “a” followed by the next key. If the ‘timeout’ option is set (which is the default), then Vim will timeout after waiting for the period specified with the ‘timeoutlen’ option (default is 1 second).

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind