> For the complete documentation index, see [llms.txt](https://temp-17.gitbook.io/trmenu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://temp-17.gitbook.io/trmenu/functions/shortcuts.md).

# Shortcuts

Simple shortcuts to execute actions

Configuration

{% code title="settings.yml" %}

```yaml
#
# Actions Shortcuts Configuration
#
Shortcuts:
  Offhand: 'open: Example'
  Sneaking-Offhand:
    - condition: 'hasPerm.trmenu.shortcut'
      execute: 'open: Example'
  Right-Click-Player: []
  Sneaking-Right-Click-Player: []
  PlayerInventory-Border-Left: []
  PlayerInventory-Border-Right: []
  PlayerInventory-Border-Middle: []
```

{% endcode %}

## Note

* After the event is triggered, the actions will be executed and the event is cancelled
* If a shortcut isn't used, you can set it to `[]`to disable it

{% content-ref url="/pages/-MFVxQ0WzF5rAYPLo5SL" %}
[Action](/trmenu/actions/action.md)
{% endcontent-ref %}
