Skip to content

Instantly share code, notes, and snippets.

@dschaehi
Last active June 17, 2022 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dschaehi/67383e6955ab9d7830b38751dcddf7bf to your computer and use it in GitHub Desktop.
Save dschaehi/67383e6955ab9d7830b38751dcddf7bf to your computer and use it in GitHub Desktop.
Jupyter Lab Keyborad Shortcuts
{
"shortcuts": [
{
"command": "notebook:toggle-all-cell-line-numbers",
"keys": [
"Alt L"
],
"selector": ".jp-Notebook:focus"
},
// Moving cells
{
"command": "notebook:move-cell-up",
"keys": [
"Alt ArrowUp"
],
"selector": ".jp-Notebook:focus"
},
{
"command": "notebook:move-cell-down",
"keys": [
"Alt ArrowDown"
],
"selector": ".jp-Notebook:focus"
},
// Running cells
{
"command": "notebook:run-all-above",
"keys": [
"Alt A"
],
"selector": ".jp-Notebook:focus"
},
{
"command": "notebook:run-all-below",
"keys": [
"Alt B"
],
"selector": ".jp-Notebook:focus"
},
{
"command": "notebook:run-all-cells",
"keys": [
"Alt X"
],
"selector": ".jp-Notebook:focus"
},
// Formatting cells
{
"command": "jupyterlab_code_formatter:format",
"keys": [
"Alt Q"
],
"selector": ".jp-Notebook.jp-mod-editMode"
},
{
"command": "jupyterlab_code_formatter:format_all",
"keys": [
"Alt Shift Q"
],
"selector": ".jp-Notebook.jp-mod-editMode"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment