help / Jun 28 2021
Keyboard Shortcuts & Text Transformations
General
- Press
Cmd/Ctrl Shift Pto open the editor’s commands menu. - Press
Cmd/Ctrl Zto undo the previous action. - Press
Cmd/Ctrl Shift Zto redo the previously undone action.
Text formatting and inline nodes
- Press
Ctrl/Cmd Bto make the currently selected text bold. - Press
Ctrl/Cmd Ito make the currently selected text italic. - Press
Ctrl/Cmd Eto insert an inline node (e.g. an inline formula at the current cursor position.
Code Cells
- Press
Ctrl/Cmd Eto insert the path to an uploaded file or a file that has been written to/results. - Press
Tabto autocomplete the code next to the cursor. - Press
Shift Tabto show docs for the code next to the cursor.
Code execution
- Press
Cmd/Ctrl Rto run the current code cell. - Press
Shift Enterto run the current code cell and jump into the next code cell. - Press
Cmd/Ctrl Shift Enterto run all cells using the current cell’s runtime. - Press
Cmd/Ctrl Alt Enterto run all code cells. - Press
Cmd/Ctrl Shift Rto restart the current code cell’s runtime. This will keep the runtime’s file system state. - Press
Cmd/Ctrl Shift Kto reset the current code cell’s runtime and its process and file system state.
Text Transformations
- Type
*text*to make it bold. - Type
_text_to make it italic. - Type
+text+to make itmonospace. - Type
$any LaTeX code here$to turn it into an.
At the beginning of an empty paragraph:
- Press
Enterto show a list of all node kinds you can insert. - Type
*,-or+followed by aspaceto create a bulleted list. - Type
1.followed by aspaceto create a numbered list. - Type
*[]followed by aspaceto create a todo list. - Type
#followed by aspaceto create a new section. - Type
##followed by aspaceto create a new sub-section. - Type
```pythonor```pyfollowed by aspaceto create a new Python code cell. You can replacepythonwith any language supported by Nextjournal.