# Split VSCode and Zed keymap files \(\#61532\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8c7811ea7291dbfb59bf959400f385565e3dae77

Requested commit: 8c7811ea7291dbfb59bf959400f385565e3dae77

Commit: 8c7811ea7291dbfb59bf959400f385565e3dae77

Tree: 2e558cd213e6eefd7c345cd374a5c301de145a4b

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Split VSCode and Zed keymap files (#61532)

Currently, Zed's "VSCode" keymap has certain discrepancies that are not
changed for compatibility reasons, e.g. opening inline assistant is
different in each editor.

To simplify the transition, extract VSCode bindings its own keymap so in
the future it's simpler to accept changes to each keymap separately.

Caveat: people who had ever changed the keymap, will have VSCode keymap
in their settings which will change their bindings slightly after this
commit is released.

I had to introduce more logic to `null` handling as had to somehow
disable `ctrl-enter` on mac from spawning the inline assistant block for
VSCode keymap (it's cmd-i there).

Release Notes:

- Split VSCode and Zed keymap files
```

## Parents

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

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