Add REPL support to Zed
This commit is contained in:
parent
6a61b5680c
commit
a7a5399121
2 changed files with 5 additions and 2 deletions
|
@ -29,7 +29,8 @@
|
||||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
"ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
||||||
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||||
"ctrl-l": ["workspace::ActivatePaneInDirection", "Right"]
|
"ctrl-l": ["workspace::ActivatePaneInDirection", "Right"],
|
||||||
|
"cmd-enter": "repl::Run"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -39,7 +40,8 @@
|
||||||
"shift-d": ["workspace::SendKeystrokes", "d d"],
|
"shift-d": ["workspace::SendKeystrokes", "d d"],
|
||||||
"-": ["workspace::SendKeystrokes", "d d p"],
|
"-": ["workspace::SendKeystrokes", "d d p"],
|
||||||
"_": ["workspace::SendKeystrokes", "d d 2 k p"],
|
"_": ["workspace::SendKeystrokes", "d d 2 k p"],
|
||||||
"= =": "editor::Format"
|
"= =": "editor::Format",
|
||||||
|
"escape": "repl::ClearOutputs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
// custom settings, run the `open default settings` command
|
// custom settings, run the `open default settings` command
|
||||||
// from the command palette or from `Zed` application menu.
|
// from the command palette or from `Zed` application menu.
|
||||||
{
|
{
|
||||||
|
"auto_update": false,
|
||||||
"theme": {
|
"theme": {
|
||||||
"dark": "Github Dark",
|
"dark": "Github Dark",
|
||||||
"light": "Github Light"
|
"light": "Github Light"
|
||||||
|
|
Loading…
Add table
Reference in a new issue