Make alt-l the default linux/windows binding for AcceptEditPrediction (#24630)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-02-11 08:34:32 +00:00
committed by GitHub
parent 9e178f128d
commit a1d4bd94c9
2 changed files with 19 additions and 2 deletions
+8 -2
View File
@@ -502,16 +502,22 @@
"tab": "editor::ComposeCompletion"
}
},
// Bindings for accepting edit predictions
//
// alt-l is provided as an alternative to tab/alt-tab. and will be displayed in the UI. This is
// because alt-tab may not be available, as it is often used for window switching.
{
"context": "Editor && edit_prediction",
"bindings": {
"alt-enter": "editor::AcceptEditPrediction"
"alt-tab": "editor::AcceptEditPrediction",
"alt-l": "editor::AcceptEditPrediction"
}
},
{
"context": "Editor && edit_prediction && !edit_prediction_requires_modifier",
"bindings": {
"tab": "editor::AcceptEditPrediction"
"tab": "editor::AcceptEditPrediction",
"alt-l": "editor::AcceptEditPrediction"
}
},
{