mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-04 12:04:20 +08:00
Support Enter to enter insert mode (#422)
This commit is contained in:
parent
80f6e987cf
commit
c0d9f8253a
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ function handleDocumentKeyDown(hook, event) {
|
|||
restartRuntime(hook);
|
||||
} else if (keyBuffer.tryMatch(["?"])) {
|
||||
showShortcuts(hook);
|
||||
} else if (keyBuffer.tryMatch(["i"])) {
|
||||
} else if (keyBuffer.tryMatch(["i"]) || key === "Enter") {
|
||||
cancelEvent(event);
|
||||
enterInsertMode(hook);
|
||||
} else if (keyBuffer.tryMatch(["j"])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue