# Make getting keybinding for display more efficient \(\#27046\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3ec69a5bc0ed23dfa9f95538d3fb2f1ae91f41fd

Requested commit: 3ec69a5bc0ed23dfa9f95538d3fb2f1ae91f41fd

Commit: 3ec69a5bc0ed23dfa9f95538d3fb2f1ae91f41fd

Tree: 1cfd4857db7c4e702489f2fe8e02b42555c1d730

Author: Michael Sloan

Committer: GitHub

## Message

```
Make getting keybinding for display more efficient (#27046)

No longer iterates all the matching bindings, and no longer clones the
result.

Release Notes:

- N/A
```

## Parents

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

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