V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
happyface
V2EX  ›  JetBrains

如果有同学在 mac 平台 jetbrains 系列里装了 IdeaVim 插件, hjkl 却不能顺滑的连续移动.

  •  
  •   happyface · 2014-11-26 09:02:39 +08:00 · 6222 次点击
    这是一个创建于 3741 天前的主题,其中的信息可能已经有所发展或是发生改变。
    参考:
    # Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key
    # that enables you to choose a character from a menu of options. If you are on Lion
    # try it by pressing and holding down 'e' in any app that uses the default NSTextField
    # for input.
    #
    # It's a nice feature and continues the blending of Mac OS X and iOS features. However,
    # it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode,
    # as it means you cannot press and hold h/j/k/l to move through your file. You have
    # to repeatedly press the keys to navigate.
    # You can disable this feature for just Sublime Text by issuing the following command
    # in your terminal (*not* the Sublime Text console):
    defaults write com.sublimetext.4 ApplePressAndHoldEnabled -bool false
    # Note: replace com.sublimetext.4 with whichever version of Sublime Text you are running
    # eg. 'com.sublimetext.2' or 'com.sublimetext.3'
    # Alternately, if you want this feature disabled globally, you can enter this:
    defaults write -g ApplePressAndHoldEnabled -bool false
    # In either case you'll need to restart Sublime Text for the change to take place.
    # Happy coding!
    view raw keyrepeat.shell hosted with ❤ by GitHub


    本来用了很久,有一天突然就别扭了。。。
    5 条回复    2014-11-26 11:13:13 +08:00
    cxshun
        1
    cxshun  
       2014-11-26 09:04:43 +08:00
    jetbrains 13.5,我用着还好,但就是移动速度比较坑人,好慢。
    baocaixiong
        2
    baocaixiong  
       2014-11-26 09:30:23 +08:00
    你不是一个人...
    pantaovay
        3
    pantaovay  
       2014-11-26 10:37:23 +08:00
    你不是一个人...蛋疼
    wanjun
        4
    wanjun  
       2014-11-26 10:53:56 +08:00
    直接vim不就行了...
    ufo22940268
        5
    ufo22940268  
       2014-11-26 11:13:13 +08:00
    http://www.v2ex.com/t/148740#reply10

    原因是因为 yosemite 下没法连续输入字母
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   882 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 22:25 · PVG 06:25 · LAX 14:25 · JFK 17:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.