zed/assets/keymaps
Andrew Lygin 5602c48136
Action release handlers (#8782)
This PR adds support for handling action releases — events that
are fired when the user releases all the modifier keys that were part of
an action-triggering shortcut.

If the user holds modifiers and invokes several actions sequentially via
shortcuts (same or different), only the last action is "released" when
its modifier keys released.

~The following methods were added to `Div`:~
- ~`capture_action_release()`~
- ~`on_action_release()`~
- ~`on_boxed_action_release()`~

~They work similarly to `capture_action()`, `on_action()` and
`on_boxed_action()`.~

See the implementation details in [this
comment](https://github.com/zed-industries/zed/pull/8782#issuecomment-2009154646).

Release Notes:

- Added a fast-switch mode to the file finder: hit `p` or `shift-p`
while holding down `cmd` to select a file immediately. (#8258).

Related Issues:

- Implements #8757 
- Implements #8258
- Part of #7653 

Co-authored-by: @ConradIrwin
2024-03-20 18:43:31 -06:00
..
atom.json Format JSON files in assets/ (#8405) 2024-02-25 14:11:38 -05:00
default-linux.json Action release handlers (#8782) 2024-03-20 18:43:31 -06:00
default-macos.json Action release handlers (#8782) 2024-03-20 18:43:31 -06:00
jetbrains.json Improve bindings to better match VS-Code (#8584) 2024-03-06 11:16:14 -08:00
storybook.json Add an app_menu to Storybook which enables quitting with cmd-q (#8166) 2024-02-22 12:51:40 -05:00
sublime_text.json fix default keybindings for select all matches 2023-09-20 17:14:19 -07:00
textmate.json Update textmate.json 2023-08-23 01:31:01 -04:00
vim.json vim: Add Multi Replace mode in Vim (#8469) 2024-03-14 20:31:53 -06:00