Created
December 3, 2017 22:59
-
-
Save iandanforth/1e2efee1213933311db51d73a5d7b091 to your computer and use it in GitHub Desktop.
Enable smooth scrolling with arrow keys in Jupyter Notebooks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%javascript | |
Jupyter.keyboard_manager.command_shortcuts.remove_shortcut('up'); | |
Jupyter.keyboard_manager.command_shortcuts.remove_shortcut('down'); |
Thanks!
Very useful. Thanks a lot.
I was looking for how to re-enable the up/down shortcuts with a similar line of javascript.
But for now, I can re-enable by going to the jupyter notebook menu:
Help > I input 'up' (including single quotes) into the "Move Cursor Up" option
And then it went back to defaults for both up and down keys. Not sure how that worked.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Paste the above into the first cell in a notebook.