mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 00:43:03 +03:00
4c780568bc
Currently in the *Auto Height Editor* story the backspace key is not working when you type into the Editor. The same thing is true for the *Picker* story as one is not able to backspace... By adding an entry in the keymap file ```rust assets/keymaps/storybook.json ``` both of these issues are solved... Release Notes: - N/A
28 lines
805 B
JSON
28 lines
805 B
JSON
[
|
|
// Standard macOS bindings
|
|
{
|
|
"bindings": {
|
|
"up": "menu::SelectPrev",
|
|
"pageup": "menu::SelectFirst",
|
|
"shift-pageup": "menu::SelectFirst",
|
|
"ctrl-p": "menu::SelectPrev",
|
|
"down": "menu::SelectNext",
|
|
"pagedown": "menu::SelectLast",
|
|
"shift-pagedown": "menu::SelectFirst",
|
|
"ctrl-n": "menu::SelectNext",
|
|
"cmd-up": "menu::SelectFirst",
|
|
"cmd-down": "menu::SelectLast",
|
|
"enter": "menu::Confirm",
|
|
"ctrl-enter": "menu::SecondaryConfirm",
|
|
"cmd-enter": "menu::SecondaryConfirm",
|
|
"escape": "menu::Cancel",
|
|
"ctrl-c": "menu::Cancel",
|
|
"cmd-q": "storybook::Quit",
|
|
"backspace": "editor::Backspace",
|
|
"delete": "editor::Delete",
|
|
"left": "editor::MoveLeft",
|
|
"right": "editor::MoveRight"
|
|
}
|
|
}
|
|
]
|