Add window close keybindings for Settings UI (#39578)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
@@ -369,7 +369,15 @@
|
|||||||
"bindings": {
|
"bindings": {
|
||||||
"new": "rules_library::NewRule",
|
"new": "rules_library::NewRule",
|
||||||
"ctrl-n": "rules_library::NewRule",
|
"ctrl-n": "rules_library::NewRule",
|
||||||
"ctrl-shift-s": "rules_library::ToggleDefaultRule"
|
"ctrl-shift-s": "rules_library::ToggleDefaultRule",
|
||||||
|
"ctrl-w": "workspace::CloseWindow"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "SettingsWindow",
|
||||||
|
"use_key_equivalents": true,
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-w": "workspace::CloseWindow"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -430,6 +430,13 @@
|
|||||||
"cmd-w": "workspace::CloseWindow"
|
"cmd-w": "workspace::CloseWindow"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"context": "SettingsWindow",
|
||||||
|
"use_key_equivalents": true,
|
||||||
|
"bindings": {
|
||||||
|
"cmd-w": "workspace::CloseWindow"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"context": "BufferSearchBar",
|
"context": "BufferSearchBar",
|
||||||
"use_key_equivalents": true,
|
"use_key_equivalents": true,
|
||||||
|
|||||||
@@ -378,7 +378,15 @@
|
|||||||
"use_key_equivalents": true,
|
"use_key_equivalents": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-n": "rules_library::NewRule",
|
"ctrl-n": "rules_library::NewRule",
|
||||||
"ctrl-shift-s": "rules_library::ToggleDefaultRule"
|
"ctrl-shift-s": "rules_library::ToggleDefaultRule",
|
||||||
|
"ctrl-w": "workspace::CloseWindow"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "SettingsWindow",
|
||||||
|
"use_key_equivalents": true,
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-w": "workspace::CloseWindow"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user