Skip to content

Instantly share code, notes, and snippets.

@sudarshan85
Last active March 31, 2020 20:31
Show Gist options
  • Save sudarshan85/ae5c1212738644de4777fc866d6e8ebc to your computer and use it in GitHub Desktop.
Save sudarshan85/ae5c1212738644de4777fc866d6e8ebc to your computer and use it in GitHub Desktop.
Jupyterlab Shortcut Overrides
# Keyboard Shortcuts
{
"shortcuts": [
{
"command": "notebook:change-cell-to-raw",
"keys": [
""
],
"selector": ".jp-Notebook:focus"
},
{
"command": "notebook:restart-clear-output",
"keys": [
"Alt O"
],
"selector": ".jp-Notebook:focus"
},
{
"command": "editmenu:clear-all",
"keys": [
"Alt C"
],
"selector": ".jp-Notebook:focus"
},
{
"command": "editmenu:clear-current",
"keys": [
"Alt 1"
],
"selector": ".jp-Notebook:focus"
},
{
"command": "notebook:restart-kernel",
"keys": [
"Alt R"
],
"selector": ".jp-Notebook:focus"
},
]
}
# Notebook
{
"codeCellConfig": {
"tabSize": 2,
"codeFolding": true,
"lineNumbers": true,
"lineWrap": "on"
},
"kernelShutdown": true,
"markdownCellConfig": {
"tabSize": 2,
},
"rawCellConfig": {
"tabSize": 2,
},
}
# Text Editor
{
"editorConfig": {
"tabSize": 2,
"wordWrapColumn": 120,
"rulers": [],
"codeFolding": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment