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

我的Pro出现一个异常诡异的键盘问题

  •  
  •   ectotherm · 2011-12-30 22:24:50 +08:00 · 3223 次点击
    这是一个创建于 4499 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在TextEdit.app或者任何文本控件中一直按着f不会出现ffffffff自动重复,但是按C-b却会持续移动。到Terminal.app中这个功能正常的,怎么解释!?
    11 条回复    1970-01-01 08:00:00 +08:00
    ectotherm
        1
    ectotherm  
    OP
       2011-12-30 22:48:45 +08:00
    我out了,这应该是lion的一个特性,长期使用snow leopard没有发现
    fim8
        2
    fim8  
       2011-12-30 23:22:05 +08:00
    我倒希望能和windows一样,一直自动重复...最好有一个地方可以设置.
    ectotherm
        3
    ectotherm  
    OP
       2011-12-30 23:24:17 +08:00
    @fim8 应该有,不过我懒得找了,明天打个电话问apple care
    ectotherm
        4
    ectotherm  
    OP
       2011-12-31 09:12:22 +08:00
    apple care说是lion的特性,然后直接说没有方案改回来,克服一下,汗
    chenluois
        5
    chenluois  
       2011-12-31 09:24:11 +08:00
    @ectotherm C-b 是哪个键?
    ectotherm
        6
    ectotherm  
    OP
       2011-12-31 09:27:58 +08:00
    @chenluois control+b
    chenluois
        7
    chenluois  
       2011-12-31 09:29:48 +08:00
    chenluois
        8
    chenluois  
       2012-01-12 14:17:17 +08:00
    这个问题我找到答案了:

    1. 如果你希望一直按着一个键如f就出现自动重复fffffff, 那么在终端中输入
    defaults write -g ApplePressAndHoldEnabled -bool false
    回车

    2. 如果你想改回来,不希望重复,那么
    defaults write -g ApplePressAndHoldEnabled -bool true
    回车
    kongruxi
        9
    kongruxi  
       2012-01-12 14:45:09 +08:00
    @chenluois 执行完你这个命令后不会马上生效,要重启一下Dock才行,执行killall Dock
    chenluois
        10
    chenluois  
       2012-01-12 14:47:19 +08:00
    @kongruxi 谢谢补充
    ectotherm
        11
    ectotherm  
    OP
       2012-01-12 15:06:11 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5924 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 01:57 · PVG 09:57 · LAX 18:57 · JFK 21:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.