[TxMt] Re: [TextMate] Problem changing keyboard shortcuts with System Preferences

Allan Odgaard allan at macromates.com
Wed Nov 10 05:46:12 UTC 2004

On 18. Oct 2004, at 23:04, Chris Brierley wrote:

This is a bit dated, but the resolution didn't occur to me before 

> As the help file suggests, I've tried changing some keyboard shortcuts
> with System Preferences->Keyboard & Mouse->Keyboard Shortcuts.  I'm
> trying to change the following items in the Text menu:
>     Reformat Paragraph
>     Reformat & Justify
>     Unwrap Paragraph
> I can get Reformat & Justify to work but not Reformat Paragraph and
> Unwrap Paragraph.
> I suspect it's because both of those items change their name depending
> on wether text is selected.  I.e., when text is selected they become
> Reformat Selection and Unwrap Selection.

The problem is that menu keys are bound at startup time, and these menu 
items actually have a third title at that time, which for the two 
problematic items are:
    Reformat Paragraph/Selection
    Unwrap Paragraph/Selection

This is my general convention, e.g. for show/hide items the initial 
title is “Show/Hide Something” etc.

You can open MainMenu.nib under “Show Package Contents” -> 
Contents/Resources/English.lproj to see the state of the menu at 
loading time.

So if you use the titles above, it will work (just tested).

More information about the textmate mailing list