# ShortcutManager

> Provides access to an instance of IShortcutManager for managing shortcuts.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.ShortcutManagement](/engine/6000.5/script-reference/unityeditor/shortcutmanagement.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static class ShortcutManager
```

## Static Fields

| Value                                                                                                                  | Description                                                                                                                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [defaultProfileId](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/shortcutmanager/defaultprofileid.md) | A constant defining the ID of the default shortcut profile. See the documentation for the [IShortcutManager.activeProfileId](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/ishortcutmanager/activeprofileid.md) property. |

## Static Properties

| Property                                                                                               | Description                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [instance](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/shortcutmanager/instance.md) | An instance of the [IShortcutManager](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/ishortcutmanager.md) interface used for managing shortcuts in the editor. |

## Static Methods

| Method                                                                                                                   | Description                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [RegisterContext](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/shortcutmanager/registercontext.md)     | Registers a [IShortcutContext](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/ishortcutcontext.md) as a custom context used to filter shortcuts. |
| [RegisterTag](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/shortcutmanager/registertag.md)             | Registers the tag as a custom context used to filter shortcuts after a window context is determined.                                                             |
| [UnregisterContext](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/shortcutmanager/unregistercontext.md) | Removes a [IShortcutContext](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/ishortcutcontext.md) from the shortcut context list.                 |
| [UnregisterTag](/engine/6000.5/script-reference/unityeditor/shortcutmanagement/shortcutmanager/unregistertag.md)         | Removes a tag from the custom context list.                                                                                                                      |
