Skip to content

Instantly share code, notes, and snippets.

@simonwongwong
Created August 9, 2019 13:56
Show Gist options
  • Save simonwongwong/23afcee1cbaff2a0e0a02a67fd2f1ed4 to your computer and use it in GitHub Desktop.
Save simonwongwong/23afcee1cbaff2a0e0a02a67fd2f1ed4 to your computer and use it in GitHub Desktop.
Jupyter Notebook shortcuts. Drop file in ~/.jupyter/nbconfig
{
"keys": {
"command": {
"bind": {
"r, r": "jupyter-notebook:restart-kernel-and-run-all-cells",
"d,c": "jupyter-notebook:clear-cell-output",
"d,r": "jupyter-notebook:restart-kernel-and-run-all-cells",
"d,l": "jupyter-notebook:run-all-cells",
"d,t": "jupyter-notebook:restart-kernel",
"d,m,u": "jupyter-notebook:move-cell-up",
"d,m,d": "jupyter-notebook:move-cell-down"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment