I changed some shortcuts for my jupyter notebooks. Though, after all, I don't like my changes, anymore.
Is there a way to reset all shortcuts at once? Under "Help" -> "Edit Keyboard Shortcuts", I don't see this option. I only could go over all keys manually and change them back... If I even knew which I have changed...
AFAIK, there is no way to reset them. The easiest method I've found is to open up ~/.jupyter/nbconfig/notebook.json
and delete the entire "keys"
scope. Make a backup of the file before touching it, of course. Here's mine:
{
"load_extensions": {
"collapsible_headings/main": true
},
"keys": {
"command": {
"bind": {
"a,b,c": "jupyter-notebook:cut-cell-attachments"
}
}
}
}
Then after (make sure to get rid of that comma):
{
"load_extensions": {
"collapsible_headings/main": true
}
}
Save that file and reload Jupyter.