# vim: Remove \`ctrl-6\` keybinding alias for \`pane::AlternateFile\` \(\#44560\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8ee85eab3c1ac3072eb7ebda689eeccdeb88d6c0

Requested commit: 8ee85eab3c1ac3072eb7ebda689eeccdeb88d6c0

Commit: 8ee85eab3c1ac3072eb7ebda689eeccdeb88d6c0

Tree: 7a8b59be2a6a25a71f6f9a945962a8bdc3aa4529

Author: Ben Kunkle

Committer: GitHub

## Message

````
vim: Remove `ctrl-6` keybinding alias for `pane::AlternateFile` (#44560)

Closes #ISSUE

It seems that `ctrl-6` is used exclusively as an alias, as can be seen
in the [linked section of the vim
docs](https://vimhelp.org/editing.txt.html#CTRL-%5E) from the initial PR
that added it. This however conflicts with the `ctrl-{n}` bindings for
`pane::ActivateItem` on macOS, leading to confusing file selection when
`ctrl-6` is pressed.

Release Notes:

- vim(BREAKING): Removed a keybinding conflict between the default macOS
bindings for `pane::ActivateItem` and the `ctrl-6` alias
for`pane::AlternateFile` which is primarily bound to `ctrl-^`. `ctrl-6`
is no longer treated as an alias for `ctrl-^` in vim mode. If you'd like
to restore `ctrl-6` as a binding for `pane::AlternateFile`, paste the
following into your `keymap.json` file:
```
  {
    "context": "VimControl && !menu",
    "bindings": {
      "ctrl-6": "pane::AlternateFile"
    }
  }
```
````

## Parents

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

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