Add emacs key bindings to Microsoft Word


macosxhints.com – Add emacs key bindings to Microsoft Word

Emacs users get addicted to the standard key bindings (which are also available in Cocoa apps). Microsoft Word doesn’t support these by default, but you can add them through customization. Here are the ones I find most useful:
StartOfLine: Control-A
EndOfLine: Control-E
LineUp: Control-P
LineDown: Control-N
CharLeft: Control-B
CharRight: Control-F
To set these up in Word, go to Tools » Customize » Customize Keyboard. From the Categories panel, choose All commands. Find each of the entries in the above list, select the Press new shortcut key box for each, then type the shortcut as shown above and click Assign. (Word will tell you if any of the shortcuts are currently assigned to other commands.)

2 Replies to “Add emacs key bindings to Microsoft Word”

  1. Great Tip, thanks. I emulate the “kill”-command as well. Just record a Macro while you are in a line: type apple-shift-right, apple-x and play this macro with the key-combination ctrl-k.

Comments are closed.