repl: Add ctrl-alt-enter binding to run in place (#15743)
Release Notes: - Added `ctrl-alt-enter` keybinding for `repl::RunInPlace` (`ctrl-option-enter` on MacOS). Keeps your screen position and cursor in place when running any block.
This commit is contained in:
parent
b7eae7fbd9
commit
f8234aec6a
6 changed files with 29 additions and 11 deletions
|
@ -134,7 +134,7 @@ impl QuickActionBar {
|
|||
{
|
||||
let editor = editor.clone();
|
||||
move |cx| {
|
||||
repl::run(editor.clone(), cx).log_err();
|
||||
repl::run(editor.clone(), true, cx).log_err();
|
||||
}
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue