Check out example codes for "jupyter notebook custom keyboard shortcuts definition". It will help you in understanding the concepts better.

Code Example 1

// file ~/.jupyter/nbconfig/notebook.json

{
  "keys": {
    "command": {
        "bind": {
            "G,G,G":"jupyter-notebook:restart-kernel-and-run-all-cells"
        }
    }
  },
}

Learn ReactJs, React Native from akashmittal.com