0

I have the following in my ~/Library/KeyBindings/DefaultKeyBinding.dict file (among other key bindings):

  "~b"    = (moveWordBackward:);
  "~f"    = (moveWordForward:);

Pressing and holding ⌥b starts auto-repeating after a brief pause, as expected. However, pressing and holding ⌥f does not. It has been this way for multiple macOS versions. I recently upgraded to Ventura by doing a clean installation and adding my custom DefaultKeyBinding.dict file. I thought this would fix whatever the problem was, but no: it still doesn't auto-repeat.

Essentially the same question was asked by someone in 2015 but they reported that the problem was their keyboard. In my case, it happens with every external or internal keyboard I've tried (including a brand new keyboard I'm typing this on).

Why does ⌥f for moveWordForward: fail to auto-repeat?

In case it's relevant, here is my complete DefaultKeyBinding.dict file.

6
  • 1
    No clue why, but to test - try removing the bindings then see if opt/b produces a line of ∫∫∫∫ & opt/f gives ƒƒƒƒ then check if the default opt/left right arrow does jump repeatedly by word.
    – Tetsujin
    Commented May 10, 2023 at 7:26
  • @Tetsujin Thanks for the idea. I tested it. Using the built-in laptop keyboard and no bindings for those keys, option-f does not auto-repeat the ƒ character (but opt-b auto-repeats ∫). Are you saying that option-f does auto-repeat for you?
    – mhucka
    Commented Jun 11, 2023 at 15:06
  • Yes, both do. I've never found one that doesn't; though it's not a feature I use often, I do have it intentionally set to repeat rather than pop up that awful 'letter chooser'
    – Tetsujin
    Commented Jun 11, 2023 at 15:31
  • 1
    @Tetsujin Thank you for your super-fast reply! OK, then that must mean something is interfering with auto-repeat in my configuration and it is probably not related to key bindings. Sigh.
    – mhucka
    Commented Jun 11, 2023 at 15:38
  • Yeah, it's a puzzler - but at least that simple test removed one thing from the equation… even if it didn't really point to what is responsible.
    – Tetsujin
    Commented Jun 11, 2023 at 15:39

0

You must log in to answer this question.

Browse other questions tagged .