Repl reorder keybinding (#14824)

Ensures that the assistant keybinding for cmd-enter takes precedence
over `repl::Run`.

On Linux, `ctrl-enter` (the equivalent), issues `repl::Run` when in a
jupyter context.

Release Notes:

- N/A
This commit is contained in:
Kyle Kelley
2024-07-19 10:05:08 -07:00
committed by GitHub
parent edddc68da6
commit 7733bf686b
2 changed files with 18 additions and 7 deletions
+6 -6
View File
@@ -180,6 +180,12 @@
"cmd-c": "markdown::Copy"
}
},
{
"context": "Editor && jupyter && !ContextEditor",
"bindings": {
"cmd-enter": "repl::Run"
}
},
{
"context": "AssistantPanel",
"bindings": {
@@ -570,12 +576,6 @@
"space": "project_panel::Open"
}
},
{
"context": "Editor && jupyter && !ContextEditor",
"bindings": {
"cmd-enter": "repl::Run"
}
},
{
"context": "CollabPanel && not_editing",
"bindings": {