Key Bindings

Key bindings are used to navigate the Komodo interface and invoke functions without using the mouse. Key bindings are configured on the Editor|Key Bindings page of the Komodo preferences (Edit|Preferences). Key bindings for custom components (such as a run command stored in a project or a macro stored in the toolbox) are configured via the component's Properties. Refer to the documentation for individual components for information about accessing properties.

Key binding "schemes" are groups of individual key bindings. Two key binding schemes are included with Komodo:

  • Default: This scheme applies key bindings commonly associated with navigating graphical application to Komodo.
  • Emacs: This scheme applies key bindings used by the Emacs editor to Komodo.

Key bindings and key binding schemes are fully customizable. For instructions on modifying key bindings, see Configuring Key Bindings in the preferences documentation.

On Unix systems, key bindings defined in the window manager (including default key bindings) take precedence over Komodo key bindings. If certain keys or key combinations do not work as expected in Komodo, check the window manager's key binding scheme. In the case of conflicts, change either the Komodo key bindings or the window manager key bindings.

Listing Current Key Bindings

To view the all key bindings associated with the key binding scheme that is currently enabled, select Help|List Key Bindings. A list of all key bindings currently in effect (regardless of whether they are custom or default key bindings) is displayed in a browser window. This list includes key bindings assigned to components, such as macros stored in the toolbox.

Use the key binding preference page to view and alter individual key bindings.

To view key bindings associated with components (for example, run commands or macros saved to the toolbox or to a project), right-click the desired component, select Properties, then select the Key Binding tab.


Configuring Custom Key Bindings

Key Bindings for Standard Functions

To configure custom key bindings for standard Komodo functions (functions other than custom components, for example macros stored in the toolbox), use the key binding preference page (Edit|Prefereces|Editor|Key Bindings).


Key Bindings for Custom Components

Custom key bindings can be assigned to the following types of components:

When the key binding associated with a component is invoked, it has the same action as double-clicking the component in the Toolbox or Project Manager.

To assign a key binding to a component, or to alter or delete an existing key binding, right-click the desired component in the Toolbox or Project Manager to display the Properties dialog box, then click the Key Binding tab.

The Current Key Sequence field displays the key binding already assigned to the component. "None" is displayed if no key binding is assigned to the component. If multiple key bindings are assigned to the component, the field is displayed as a drop-down list.

To add a new key binding:

  1. In the New Key Sequence field, enter the desired key combination. If the key binding conflicts with another binding, the existing binding is displayed in the Key Sequence Currently Used By field.
  2. Click Add. If the new key binding conflicts with an existing key binding, the new key binding will take precedence.

To alter an existing key binding:

  1. If multiple bindings have been assigned to the component, select the desired binding from the Current Key Sequence drop-down list.
  2. In the New Key Sequence field, enter the key binding to replace the binding that is currently selected.
  3. Click Change to replace the selected key binding. Click Add to add another key binding.

To remove an existing key binding:

  1. If multiple bindings have been assigned to the component, select the desired binding from the Current Key Sequence drop-down list.
  2. Click the Clear button to delete the key binding.
  3. To delete all key bindings associated with the component, click Clear All.