Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Jupyter Keyboard Shortcuts

One of my Jupyter notebooks uses an html <input> tag that expects typed user input, but whenever I type in the text box, command mode keyboard shortcuts activate.

Is it possible to turn off keyboard shortcuts for a single cell or notebook?

like image 801
Nick Sweet Avatar asked Dec 07 '15 04:12

Nick Sweet


1 Answers

You can use Jupyter.keyboard_manager.disable() to disable the shortcuts temporarily, and use Jupyter.keyboard_manager.enable() to activate again.

like image 148
Yinhao Li Avatar answered Sep 17 '22 19:09

Yinhao Li