Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've recently switched from Linux, so I'm still getting a hang of things -- please bare with me. ;)

One thing that is really killing my emacs memory muscles right now is the lack of alt+f and alt+b to jump forward and backward by word. I've gotten the meta/option flag flipped in preferences (so alt+. now works as expected), but I haven't found a similar option for Textmate. Even better if I could enable it as a Mac OS X global setting for the U.S. keyboard (so it would work in all input boxes). At the moment I get the following useless (for me) encodings:

alt+f: ƒ

alt+b: ∫

Any help would be greatly appreciated. Thanks!

share|improve this question
Thanks Am1rr3zA for pointing out how to style keyboard shortcuts; that looks much better. :) – pithyless Dec 10 '10 at 6:55
up vote 5 down vote accepted

As usual... KeyRemap4MacBook to the rescue :P Its emacs mode will give you those bindings, and you can choose a lot more bindings than that as well:

alt text

share|improve this answer
Thanks, that did the trick. Excellent find! – pithyless Dec 10 '10 at 6:52
@pithyless: no problem! i love keyremap :P – Robert S Ciaccio Dec 10 '10 at 7:12
excellent software :D – code4j Aug 1 '13 at 6:03

FYI, it doesn't seem to be mentioned in the Mac shortcuts list, but on my Macbook Air you can press




to move forward and backward one word, respectively.

share|improve this answer

One way to remap the keys in other applications as well would be to create ~/Library/KeyBindings/ and save a property list like this as DefaultKeyBinding.dict:

    "~b" = moveWordBackward:;
    "~f" = moveWordForward:;
    "~d" = deleteWordForward:;
    "~l" = (moveWordForwardAndModifySelection:, lowercaseWord:);
    "~u" = (moveWordForwardAndModifySelection:, uppercaseWord:);
    "~c" = (moveWordForwardAndModifySelection:, capitalizeWord:);

You could also cp /Applications/ ~/Libary/Application\ Support/TextMate/KeyBindings.dict and add the same keys there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.