# Override \`performKeyEquivalent\` to handle key events · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8f6d081de84309b13188c70090a075b6c89df1e4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8f6d081de84309b13188c70090a075b6c89df1e4

Requested commit: 8f6d081de84309b13188c70090a075b6c89df1e4

Commit: 8f6d081de84309b13188c70090a075b6c89df1e4

Tree: 719f0b89b1ec6b5fe9cf697e4d5f74b0e7b677d1

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Override `performKeyEquivalent` to handle key events

This lets us bypass the application menu and invoke the event handler
in Zed first. If that doesn't handle the event, the application menu
item corresponding to the shortcut will be actioned. Prior to this
commit the opposite would happen, which would dramatically limit the
throughput at which we could handle events.

```

## Parents

- [607903eed561c192522763fac693094541d18cfe](https://git.cafe/gitcafe/zed/commit/607903eed561c192522763fac693094541d18cfe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8f6d081de84309b13188c70090a075b6c89df1e4?format=markdown)
