Using numpad in Vi (Vim) via PuTTY

前端 未结 5 1049
无人共我
无人共我 2021-01-29 20:38

The numberpad does not work properly when using Vim through PuTTY. Instead of numbers I get

y
x
w
v
u
t
s
r
q
5条回答
  •  情话喂你
    2021-01-29 21:16

    The previous answers by kirby, michael-berkowski, and pykler are great.

    I had this issue in Vim on macOS's terminal. Checking TerminalPreferencesProfilesKeyboard showed that "Clear (Keypad)" was mapped to "Num Lock". Pressing clear fixed the issue for me.

提交回复
热议问题