happinessnch
V2EX  ›  问与答

VIM 输入问题

  •  
  •   happinessnch · Apr 1, 2016 · 2653 views
    This topic created in 3734 days ago, the information mentioned may be changed or developed.

    我用 tightVNC window 远程到 mac 上,

    使用 vim 编辑,

    按数字 1 竟然变成 q , 2,3....也变成了相应的字母

    在外面输入就没有问题, 只在 vim 下有问题,

    有人知道怎么回事吗? 遇到过同样的问题吗?

    1 replies    2016-04-01 15:37:51 +08:00
    happinessnch
        1
    happinessnch  
    OP
       Apr 1, 2016
    On the Mac Terminal app, try Preferences --> Profiles --> Advanced --> deselect "Allow VT100 application keypad mode
    找到解决方案了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5560 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 07:24 · PVG 15:24 · LAX 00:24 · JFK 03:24
    ♥ Do have faith in what you're doing.