Skip to content

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

Merged
probably-neb merged 1 commit intomainfrom
vim-remove-ctrl-6-binding
Dec 10, 2025
Merged

vim: Remove ctrl-6 keybinding alias for pane::AlternateFile#44560
probably-neb merged 1 commit intomainfrom
vim-remove-ctrl-6-binding

Conversation

@probably-neb
Copy link
Collaborator

@probably-neb probably-neb commented Dec 10, 2025

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 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 forpane::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"
    }
  }

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 10, 2025
@maxdeviant maxdeviant changed the title vim: remove ctrl-6 alias for pane::AlternateFile vim: Remove ctrl-6 alias for pane::AlternateFile Dec 10, 2025
@probably-neb probably-neb changed the title vim: Remove ctrl-6 alias for pane::AlternateFile vim: Remove ctrl-6 keybinding alias for pane::AlternateFile Dec 10, 2025
@probably-neb probably-neb enabled auto-merge (squash) December 10, 2025 16:49
@probably-neb probably-neb merged commit 8ee85ea into main Dec 10, 2025
27 checks passed
@probably-neb probably-neb deleted the vim-remove-ctrl-6-binding branch December 10, 2025 16:55
nrbnlulu pushed a commit to nrbnlulu/zed that referenced this pull request Dec 14, 2025
…industries#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"
    }
  }
```
CherryWorm pushed a commit to CherryWorm/zed that referenced this pull request Dec 16, 2025
…industries#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"
    }
  }
```
someone13574 pushed a commit to someone13574/zed that referenced this pull request Dec 16, 2025
…industries#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"
    }
  }
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant