In several terminal programs, such as PuTTY, SecureCRT, iTerm, and Mac OS Terminal, if I have NumLock on and I press the number pad (numpad) keys 0123456789 in insert mode, my vim looks like this:
y x w v u t s r q p ~ If I use the numpad on the command line, it enters the numbers I expect.
How do I make vim type the right characters from the numpad?