Customizing keyboard shortcuts in Jupyter notebook

47 views
Skip to first unread message

Milos Miljkovic

unread,
Aug 30, 2016, 4:07:23 PM8/30/16
to Project Jupyter
Hello,

What is code-du-jour for customizing keyboard shortcuts in Jupyter notebook? This is not working:


Enter code here...
// file ~/.jupyter/nbconfig/notebook.json
{
  "keys": {
    "command": {
        "bind": {
            "Alt-h":"jupyter-notebook:toggle-header"
        }
    }
  },
}



Milos Miljkovic

unread,
Sep 6, 2016, 12:06:32 PM9/6/16
to Project Jupyter
Turns out you can still define custom keyboard shortcuts in ~/.jupyter/custom/custom.js file, but loading the file is currently broken in notebook v.4.2.2 and fix is coming in v.4.2.3 https://github.com/jupyter/notebook/issues/1730
Reply all
Reply to author
Forward
0 new messages