Collaboration on grant proposals has forced me to spend a lot of time writing in MS Word lately. I find my self typing emacs key strokes and then getting annoyed when I have to move my hand over to the arrow keys. (It’s maybe not as bad as typing Markdown marks within a LaTeX document, which I’ve also been doing.)
A google search on the title of this post got me to this post. I should have looked before.
Following that suggestion, I was able to get these:
C-b
– CharLeftC-f
– CharRightC-e
– EndOfLineC-p
– LineUpC-n
– LineDownC-a
– StartOfLineC-v
– PageDown
I can’t figure out how to have M-v
for PageUp, though, because M-v
seems permanently stuck to “√”.
The procedure, in MS Word 2011 for Mac, is:
- Tools → Customize Keyboard
- Select “All Commands” under “Categories:”
- Select the command (e.g., RightChar) under “Commands:”
- Press the keyboard shortcut in the “Press new keyboard shortcut” box
- Click the Assign button
- Repeat for the other commands you want
- Click OK
I needed two more, C-d
and C-k
; it took me a while to figure out how to do it, as there didn’t seem to be any built-in commands. But you can just record a macro. I created these:
C-d
– [DeleteCharacter] (as a macro)C-k
– [KillLine] (as a macro)
Here’s the procedure, in MS Word 2011 for Mac.
- Tools → Macros → Record Macro
- Give it a name with no spaces
- Click the keyboard button to assign a keystroke to it
- Select OK
- Type the set of key strokes
- Tools → Macros → Stop Recording
Womacs is a really extensive set of Visual Basic macros that looks really useful, but I was getting Visual Basic errors and didn’t want to spend any more time on it; grants to write…