File tree Expand file tree Collapse file tree 2 files changed +1
-27
lines changed
src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys Expand file tree Collapse file tree 2 files changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ Description: Additional hotkeys for easier navigation in the notebook
4
4
Link : readme.md
5
5
Icon : icon.png
6
6
Main : main.js
7
- Compatibility : 4.x
7
+ Compatibility : 4.x, 5.x
Original file line number Diff line number Diff line change @@ -85,32 +85,6 @@ define([
85
85
cell . focus_cell ( ) ;
86
86
return false ;
87
87
}
88
- } ,
89
-
90
- 'shift-down' : {
91
- help : 'shift down' ,
92
- help_index : 'aa' ,
93
- handler : function ( ) {
94
- var index = IPython . notebook . get_selected_index ( ) ;
95
- if ( index !== ( IPython . notebook . ncells ( ) - 1 ) && index !== null ) {
96
- IPython . notebook . extend_selection ( 'down' ) ;
97
- IPython . notebook . focus_cell ( ) ;
98
- }
99
- return false ;
100
- }
101
- } ,
102
-
103
- 'shift-up' : {
104
- help : 'shift down' ,
105
- help_index : 'aa' ,
106
- handler : function ( ) {
107
- var index = IPython . notebook . get_selected_index ( ) ;
108
- if ( index !== 0 && index !== null ) {
109
- IPython . notebook . extend_selection ( 'up' ) ;
110
- IPython . notebook . focus_cell ( ) ;
111
- }
112
- return false ;
113
- }
114
88
}
115
89
116
90
} ;
You can’t perform that action at this time.
0 commit comments