How to remap a few keys for chrome/google docs? I'm using Cmd-Option-1 .. Cmd-Option-5 to go to different desktops, on Moutain Lion.

Besides changing my global defaults, how else could I enable the google doc shortcuts for Cmd-Option- to set a paragraph style?

I want some sort of program that will take Ctrl-Option- in chrome and send chrome Cmd-Option-num (and not change desktops).
The only option I can think of would be to change the default shortcuts to something like ⌃⌥⇧⌘+numbers and save this as private.xml in KeyRemap4MacBook.

&lt;?xml version="1.0"?&gt;
&lt;root&gt;
&lt;item&gt;
&lt;name&gt;test&lt;/name&gt;
&lt;identifier&gt;private.test&lt;/identifier&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_1, VK_OPTION | VK_COMMAND, KeyCode::KEY_1, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_2, VK_OPTION | VK_COMMAND, KeyCode::KEY_2, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_3, VK_OPTION | VK_COMMAND, KeyCode::KEY_3, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_4, VK_OPTION | VK_COMMAND, KeyCode::KEY_4, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_5, VK_OPTION | VK_COMMAND, KeyCode::KEY_5, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_6, VK_OPTION | VK_COMMAND, KeyCode::KEY_6, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_7, VK_OPTION | VK_COMMAND, KeyCode::KEY_7, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_8, VK_OPTION | VK_COMMAND, KeyCode::KEY_8, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_9, VK_OPTION | VK_COMMAND, KeyCode::KEY_9, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_0, VK_OPTION | VK_COMMAND, KeyCode::KEY_0, VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND&lt;/autogen&gt;
&lt;/item&gt;
&lt;item&gt;
&lt;name&gt;test2&lt;/name&gt;
&lt;identifier&gt;private.test2&lt;/identifier&gt;
&lt;only&gt;GOOGLE_CHROME&lt;/only&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_1, VK_CONTROL | VK_OPTION, KeyCode::KEY_1, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_2, VK_CONTROL | VK_OPTION, KeyCode::KEY_2, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_3, VK_CONTROL | VK_OPTION, KeyCode::KEY_3, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_4, VK_CONTROL | VK_OPTION, KeyCode::KEY_4, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_5, VK_CONTROL | VK_OPTION, KeyCode::KEY_5, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_6, VK_CONTROL | VK_OPTION, KeyCode::KEY_6, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_7, VK_CONTROL | VK_OPTION, KeyCode::KEY_7, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_8, VK_CONTROL | VK_OPTION, KeyCode::KEY_8, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_9, VK_CONTROL | VK_OPTION, KeyCode::KEY_9, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;autogen&gt;--KeyToKey-- KeyCode::KEY_0, VK_CONTROL | VK_OPTION, KeyCode::KEY_0, VK_OPTION | VK_COMMAND&lt;/autogen&gt;
&lt;/item&gt;
&lt;/root&gt;


See the source for the keycode constants and predefined settings.