Fix default keybindings for AcceptPartialEditPrediction
to work in subtle mode (#32193)
Closes #27567 Release Notes: - Fixed default keybindings for `editor::AcceptPartialEditPrediction` to work with subtle mode. Co-authored-by: Richard <richard@zed.dev>
This commit is contained in:
parent
4b297a9967
commit
8bd8435887
2 changed files with 10 additions and 8 deletions
|
@ -153,8 +153,7 @@
|
||||||
"context": "Editor && mode == full && edit_prediction",
|
"context": "Editor && mode == full && edit_prediction",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-]": "editor::NextEditPrediction",
|
"alt-]": "editor::NextEditPrediction",
|
||||||
"alt-[": "editor::PreviousEditPrediction",
|
"alt-[": "editor::PreviousEditPrediction"
|
||||||
"alt-right": "editor::AcceptPartialEditPrediction"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -662,14 +661,16 @@
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-tab": "editor::AcceptEditPrediction",
|
"alt-tab": "editor::AcceptEditPrediction",
|
||||||
"alt-l": "editor::AcceptEditPrediction",
|
"alt-l": "editor::AcceptEditPrediction",
|
||||||
"tab": "editor::AcceptEditPrediction"
|
"tab": "editor::AcceptEditPrediction",
|
||||||
|
"alt-right": "editor::AcceptPartialEditPrediction"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && edit_prediction_conflict",
|
"context": "Editor && edit_prediction_conflict",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-tab": "editor::AcceptEditPrediction",
|
"alt-tab": "editor::AcceptEditPrediction",
|
||||||
"alt-l": "editor::AcceptEditPrediction"
|
"alt-l": "editor::AcceptEditPrediction",
|
||||||
|
"alt-right": "editor::AcceptPartialEditPrediction"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -181,8 +181,7 @@
|
||||||
"use_key_equivalents": true,
|
"use_key_equivalents": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-tab": "editor::NextEditPrediction",
|
"alt-tab": "editor::NextEditPrediction",
|
||||||
"alt-shift-tab": "editor::PreviousEditPrediction",
|
"alt-shift-tab": "editor::PreviousEditPrediction"
|
||||||
"ctrl-cmd-right": "editor::AcceptPartialEditPrediction"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -719,14 +718,16 @@
|
||||||
"context": "Editor && edit_prediction",
|
"context": "Editor && edit_prediction",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-tab": "editor::AcceptEditPrediction",
|
"alt-tab": "editor::AcceptEditPrediction",
|
||||||
"tab": "editor::AcceptEditPrediction"
|
"tab": "editor::AcceptEditPrediction",
|
||||||
|
"ctrl-cmd-right": "editor::AcceptPartialEditPrediction"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && edit_prediction_conflict",
|
"context": "Editor && edit_prediction_conflict",
|
||||||
"use_key_equivalents": true,
|
"use_key_equivalents": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-tab": "editor::AcceptEditPrediction"
|
"alt-tab": "editor::AcceptEditPrediction",
|
||||||
|
"ctrl-cmd-right": "editor::AcceptPartialEditPrediction"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue