Skip to content

Instantly share code, notes, and snippets.

@bmcguirk
Last active September 25, 2018 14:39
Show Gist options
  • Save bmcguirk/513fb750e86c8107e4b656cb4fe6b3e2 to your computer and use it in GitHub Desktop.
Save bmcguirk/513fb750e86c8107e4b656cb4fe6b3e2 to your computer and use it in GitHub Desktop.
Jupyterlab Keyboard Shortcut to Clear Current Cell Output
// Need to paste into "User Overrides" section of "Advanced Settings Editor" in JupyterLab.
// Source of name of command from editmenu:
// https://github.com/jupyterlab/jupyterlab/blob/3ea6a39264f44694febc9357578ffcb43b4f1780/packages/mainmenu-extension/src/index.ts#L42
{
"editmenu:clear-current": {
"command": "editmenu:clear-current",
"keys": [
"Ctrl Shift O"
],
"selector": "body"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment