Textmate: Use Command-Escape as a Shortcut to the Gear Menu

Textmate is a superb text/code editor for the Mac that makes extensive use of keyboard shortcuts to make your life easier.

One of the most important shortcuts in Textmate is Control-Escape, which opens a “Gear” menu with important context-sensitive functions. However, if you turn on the Screen Sharing or Remote Management features of your Mac, you will find that the Control-Escape key combination no longer works. The remote-access applications hijack this shortcut.

To continue using the default Control-Escape shortcut with Textmate, you have no choice but to turn off all of the remote-access applications.

If this is not an option, you will need to configure Texmate to recognise a new shortcut for the gear menu. Here are the steps to substitute Command-Escape for the Control-Escape shortcut:

  1. Prevent the Command-Escape shortcut from starting Front Row, by opening the Keyboard and Mouse preferences and disabling the first shortcut option: “Hide and show Front Row”
  2. Remap the Gear activation key by setting an application property for Textmate with the following command (all on one line):
defaults write com.macromates.textmate OakBundleItemsPopUpMenuKeyEquivalent "@\033"

Relaunch Textmate, and you should now be able to use the Command-Escape shortcut to access the gear menu.

You can find more information about Textmate shortcut keys and the Control-Escape issue at the following links:

This entry was posted in Tips. Bookmark the permalink.

2 Responses to Textmate: Use Command-Escape as a Shortcut to the Gear Menu

  1. Pingback: jameswfrost.co.uk » Blog » TextMate Ctrl-Escape Shortcut Fix

  2. Pingback: Textmate: Bundle Items menu shortcut fix | TJ's Logic

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>