Last active
February 12, 2021 08:51
-
-
Save LiutongZhou/bfbf1712cab1397f65d79d398781fe2f to your computer and use it in GitHub Desktop.
Keyboard Shortcut for JupyterLab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// For a full list of commands, refer | |
// https://github.com/jupyterlab/jupyterlab/blob/master/packages/notebook-extension/src/index.ts | |
"shortcuts":[ | |
{ | |
"command":"notebook:run-all-above", | |
"keys":[ | |
"F5" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:redo-cell-action", | |
"keys":[ | |
"Ctrl Shift Z" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:move-cell-up", | |
"keys":[ | |
"Ctrl ArrowUp" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:move-cell-down", | |
"keys":[ | |
"Ctrl ArrowDown" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:merge-cells", | |
"keys":[ | |
"M", | |
"M" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:change-cell-to-markdown", | |
"keys":[ | |
"Ctrl M" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:change-cell-to-code", | |
"keys":[ | |
"Ctrl Y" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:undo-cell-action", | |
"keys":[ | |
"Ctrl Z" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:paste-cell-below", | |
"keys":[ | |
"Ctrl V" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:cut-cell", | |
"keys":[ | |
"Ctrl X" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:copy-cell", | |
"keys":[ | |
"C C" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"notebook:change-cell-to-raw", | |
"keys":[ | |
"Ctrl R" | |
], | |
"selector":".jp-Notebook:focus" | |
}, | |
{ | |
"command":"editmenu:clear-current", | |
"keys":[ | |
"Accel Shift C" | |
], | |
"selector":"[data-jp-undoer]" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment