Search code examples
keyboardjupytershortcutnumerickeypad

Using the numeric keypad for edited shortcuts in jupyter notebook


I have edited my shortcuts in Jupyter Notebook. One of the shortcuts I created was '0,0,0'.

When I am in command mode the shortcut '0,0,0' works fine...But it only works if I use the keyboard numbers. When I try to type '0,0,0' using the zeroes on the numeric keypad, Jupyter Notebook does not recognize that I am giving it a command.

Is there a way to get it so that it will recognize numbers from both the keyboard and the numeric keypad? I tried searching the docs but did not find any answers. Thx.


Solution

  • Numpad0,Numpad0,Numpad0 should work. It's using JS event codes. You can try them out here:

    https://keycode.info/