diff --git a/src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/hotkeys.yaml b/src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/hotkeys.yaml index 75acd8aca..4f5275169 100644 --- a/src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/hotkeys.yaml +++ b/src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/hotkeys.yaml @@ -4,4 +4,4 @@ Description: Additional hotkeys for easier navigation in the notebook Link: readme.md Icon: icon.png Main: main.js -Compatibility: 4.x +Compatibility: 4.x, 5.x diff --git a/src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/main.js b/src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/main.js index 3261460c9..53eded4da 100644 --- a/src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/main.js +++ b/src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/main.js @@ -85,32 +85,6 @@ define([ cell.focus_cell(); return false; } - }, - - 'shift-down': { - help : 'shift down', - help_index : 'aa', - handler : function() { - var index = IPython.notebook.get_selected_index(); - if (index !== (IPython.notebook.ncells()-1) && index !== null) { - IPython.notebook.extend_selection('down'); - IPython.notebook.focus_cell(); - } - return false; - } - }, - - 'shift-up': { - help : 'shift down', - help_index : 'aa', - handler : function() { - var index = IPython.notebook.get_selected_index(); - if (index !== 0 && index !== null) { - IPython.notebook.extend_selection('up'); - IPython.notebook.focus_cell(); - } - return false; - } } };