
Im trying to assign the F11 key, but it doesnt work.
Jupyterlab shortcuts code#
Clear all cells output: Ctrl + Shift + Alt + OĪnd here’s a bonus: dark mode theme. Under the sub-menu (not the horizontal menu at the top named 'JupyterLab', but the unnamed horizontal menu immediately below), I selected Settings -> Advanced Settings Editor and, following instructions, copied the following code snippet into the area named 'Settings / User Preferences'.Toggle all cells output collapsed (collapse all cells’ output): Ctrl + Shift + O.Restart kernel and run all cells: Shift + R.Don’t forget to click the plus sign button to save the new shortcut!Īnd so, these have been the custom keyboard shortcuts that I’ve used the most: Note that you need to separate the keys by an hyphen (-). Scroll in the dialog box until you find the action you want and then type the key combination in the “add shortcut” input box. This is done by accessing “Help” > “Edit Keyboard Shortcuts” in the Notebook menu options.

In addition to the default keyboard shortcuts, you can also define some of your own.

