Skip to content

Commit c5fe5f1

Browse files
authored
Make ctrl-l the default vim binding for AcceptEditPrediction (zed-industries#24599)
Release Notes: - N/A
1 parent 8f75fe2 commit c5fe5f1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

assets/keymaps/vim.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,15 @@
698698
{
699699
"context": "edit_prediction && !edit_prediction_requires_modifier",
700700
"bindings": {
701+
// "tab" is bound in the vim bindings above so that default editor behavior isn't used, so
702+
// need to rebind it even though this is in the base keymap.
701703
"tab": "editor::AcceptEditPrediction"
702704
}
705+
},
706+
{
707+
"context": "edit_prediction",
708+
"bindings": {
709+
"ctrl-l": "editor::AcceptEditPrediction"
710+
}
703711
}
704712
]

0 commit comments

Comments
 (0)