Repository navigation
Replies: 3 comments 2 replies
|
You can enter the command mode (e.g. https://www.youtube.com/shorts/GmjPFi5XSj8) Or manually set it in keyboard shortcuts:
(User Settings -> Editor -> Keymap) |
|
Hi, please, do we have any way to 1. Set a shortcut to restart the kernel ? 2. Set a shortcut to restart and run all ? There are multiple use cases when playing with a notebook, the kernel needs restarting (Singleton, etc.) |
|
"Re-run all cells" doesn't restart the kernel; it re-runs cells in the same process, so module state stays. Restart isn't in the keymap (hotkeys.ts), so it can't get a shortcut, but the command palette has it: To have the restarted kernel run everything, turn on "Autorun on startup" (Settings > Runtime, off by default in 0.25.1), or for one notebook: # /// script
# [tool.marimo.runtime]
# auto_instantiate = true
# /// |

Uh oh!
There was an error while loading. Please reload this page.
Hi!, curious if I could configure a shortcut for restart kernel and run all?
All reactions