Skip to content

Commit 9bf76fe

Browse files
committed
Remove redundant nav keys already implemented in Jupyter core
1 parent 62f7dd2 commit 9bf76fe

File tree

2 files changed

+0
-21
lines changed
  • src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys

2 files changed

+0
-21
lines changed

src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/main.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@ define([
77
"use strict";
88

99
var add_command_shortcuts = {
10-
'esc' : {
11-
help : 'Enter edit mode',
12-
help_index : 'aa',
13-
handler : function() {
14-
Jupyter.notebook.edit_mode();
15-
return false;
16-
}
17-
},
18-
1910
'home' : {
2011
help : 'Go to top',
2112
help_index : 'ga',
@@ -90,16 +81,6 @@ define([
9081
};
9182

9283
var add_edit_shortcuts = {
93-
'alt-minus' : {
94-
help : 'Split cell at cursor',
95-
help_index : 'eb',
96-
handler : function() {
97-
Jupyter.notebook.edit_mode();
98-
Jupyter.notebook.split_cell();
99-
Jupyter.notebook.edit_mode();
100-
return false;
101-
}
102-
},
10384
'alt-=' : {
10485
help : 'Merge cell with previous cell',
10586
help_index : 'eb',

src/jupyter_contrib_nbextensions/nbextensions/navigation-hotkeys/readme.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Edit-mode hotkeys:
77

88
* `pageup` - scroll page up
99
* `pagedown` - scroll page down
10-
* `Alt`- `-` - Split cell and keep cursor position
1110
* `Alt`- `+` - Combine cell and keep cursor position
1211
* `Alt`-`n` - Toggle line number display in current codecell
1312
* `Shift`-`Enter` - Execute cell, goto next cell and stay in edit mode if next cell is a code cell or unrendered markdown cell
@@ -16,7 +15,6 @@ Edit-mode hotkeys:
1615

1716
Command-mode hotkeys:
1817

19-
* `esc` - toggle to edit mode
2018
* `home` - Go to top of notebook
2119
* `end` - Go to bottom of notebook
2220
* `pageup` - scroll page up

0 commit comments

Comments
 (0)