[TxMt] Re-binding Cmd-J and Shift+Cmd+J

Soryu Soryu at serenity.de
Wed Jan 3 21:02:59 UTC 2007


On 03.01.2007, at 21:57, Brendan Dixon wrote:

> Hmm, I'll try to be more clear.
>
> I've followed Allen's instructions to change key-to-command  
> associations by editing KeyBindings.dict as he explains in several  
> posts and his blog. Most of these are straightforward since I know  
> the command name to use (e.g., movePageUp:, scrollPageDown:).  
> However, I cannot find the command names associated with the Shift 
> +Cmd+J and Cmd+J bindings. Further, Shift+Cmd+J is listed as a  
> keyboard shortcut for a menu item which, if I've understood Allen,  
> complicates matters because the menu system consumes keystrokes  
> before sending them on to the application.
>
> What I'd like to do is switch the meanings of Shift+Cmd+J and Cmd 
> +J. I had hoped that I could accomplish the switch my editing, as I  
> have for other key-to-command associations, the KeyBindings.dict  
> file (either directly or by means of the KeyBindingsEditor  
> application and referenced in one or more posts).
>
> Does this help? If changing the key bindings will not work, does  
> anyone have a suggestion on how I might switch the meanings of  
> these keystroke sequences?
>
> Brendan Dixon
> brendandixon at mac.com
> 425.922.8798
>

You can change standard menu bindings via System Preferences →  
Keyboard & Mouse. Have you tried this? I have overridden a different  
menu shortcut in iTunes that way, so it seems the binding in System  
Preferences gets precedence.

Soryu.


More information about the textmate mailing list