# jk \(\#4189\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 72cb865108fe0e70d1cdcc24e6796bfd9a62c9fb

Requested commit: 72cb865108fe0e70d1cdcc24e6796bfd9a62c9fb

Commit: 72cb865108fe0e70d1cdcc24e6796bfd9a62c9fb

Tree: 93bfaff7df61d12c0f40ef68602622802b48c668

Author: Conrad Irwin

Committer: GitHub

## Message

```
jk (#4189)

Add support for mapping `jk` to escape in vim mode.

This changes the behaviour of the keymatches when there are pending
matches.

Before: Even if there was a pending match, any complete matches would be
triggered and the pending state lost.

After: If there is a pending match, any complete matches are delayed by
1s, or until more keys are typed.

Release Notes:

- Added support for mapping `jk` in vim mode
([#2378](https://github.com/zed-industries/community/issues/2378)),
([#176](https://github.com/zed-industries/community/issues/176))
```

## Parents

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

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

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