zed/assets/keymaps
Congyu b0d89d6f34
Fix jetbrains keymap alt-enter to do search::SelectAllMatches (#11951)
The default keymap uses alt-enter for `SelectAllMatches` for `context:
BufferSearchBar`.

Jetbrains keymap uses alt-enter for `ToggleCodeActions` for `context:
Editor`.

When focusing on search bar, currently alt-enter does not perform
`SelectAllMatches`, whereas `ToggleCodeActions` is triggered instead,
because search bar's text input element has `context: Editor
mode=single_line`.

This PR restricts `ToggleCodeActions` to `Editor (full mode)` context to
allow `SelectAllMatches` to be triggered for alt-enter when the search
bar is active.

Release Notes:

- Fixed alt-enter with JetBrains keymap ignoring `search::SelectAllMatches` in certain contexts ([11840](https://github.com/zed-industries/zed/issues/11840))
2024-05-24 12:47:38 +03:00
..
atom.json Format JSON files in assets/ (#8405) 2024-02-25 14:11:38 -05:00
default-linux.json Separate actions for accepting the inline suggestions and completions (#12094) 2024-05-22 13:51:21 +03:00
default-macos.json Separate actions for accepting the inline suggestions and completions (#12094) 2024-05-22 13:51:21 +03:00
jetbrains.json Fix jetbrains keymap alt-enter to do search::SelectAllMatches (#11951) 2024-05-24 12:47:38 +03:00
storybook.json storybook: Fix Backspace in Auto Height Editor and Picker stories (#11011) 2024-04-25 17:37:47 -04:00
sublime_text.json fix default keybindings for select all matches 2023-09-20 17:14:19 -07:00
textmate.json Fix alt-shift-(left|right) behaviour (#11292) 2024-05-03 11:29:47 +02:00
vim.json Vim smorgasbord (#12222) 2024-05-23 21:09:32 -06:00