# Don't let \`ctrl-g\` clobber git panel keybindings in Emacs keymap \(\#37732\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d437bbaa0a100aa1bf6c64980dd773a63cbfdc8e

Requested commit: d437bbaa0a100aa1bf6c64980dd773a63cbfdc8e

Commit: d437bbaa0a100aa1bf6c64980dd773a63cbfdc8e

Tree: 0725cde9aa6d8d864a782f6e725b8c05d6a4dc52

Author: justin talbott

Committer: GitHub

## Message

```
Don't let `ctrl-g` clobber git panel keybindings in Emacs keymap (#37732)

i'm testing out zed, coming from emacs, and so i'm trying out the base
keymap for it. i noticed though that zed's default git keybindings don't
work when the gitpanel is open though, because of the top-level binding
of `ctrl-g` to cancel. my expectation is that the emacs-like keybindings
would work insofar as they don't clobber zed's defaults (which would
take precedence), but obviously i'll defer to others on this!

another option could be to use the `C-x v` keymap prefix that the emacs
built-in `vc` package uses, but it doesn't contain the same set of
bindings for git commands that zed has.
```

## Parents

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

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