Make ctrl-l the default vim binding for AcceptEditPrediction (#24599)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-02-10 20:03:53 -07:00 committed by GitHub
parent 8f75fe25e5
commit c5fe5f1139
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -698,7 +698,15 @@
{
"context": "edit_prediction && !edit_prediction_requires_modifier",
"bindings": {
// "tab" is bound in the vim bindings above so that default editor behavior isn't used, so
// need to rebind it even though this is in the base keymap.
"tab": "editor::AcceptEditPrediction"
}
},
{
"context": "edit_prediction",
"bindings": {
"ctrl-l": "editor::AcceptEditPrediction"
}
}
]