File tree 3 files changed +9
-8
lines changed
notebook/static/notebook/js
3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -114,9 +114,15 @@ define([
114
114
readOnly : false ,
115
115
theme : "default" ,
116
116
extraKeys : {
117
- "Cmd-Right" :"goLineRight" ,
118
- "End" :"goLineRight" ,
119
- "Cmd-Left" :"goLineLeft"
117
+ "Cmd-Right" : "goLineRight" ,
118
+ "End" : "goLineRight" ,
119
+ "Cmd-Left" : "goLineLeft" ,
120
+ "Tab" : "indentMore" ,
121
+ "Shift-Tab" : "indentLess" ,
122
+ "Cmd-Alt-[" : "indentAuto" ,
123
+ "Ctrl-Alt-[" : "indentAuto" ,
124
+ "Cmd-/" : "toggleComment" ,
125
+ "Ctrl-/" : "toggleComment" ,
120
126
}
121
127
}
122
128
} ;
Original file line number Diff line number Diff line change @@ -125,11 +125,7 @@ define([
125
125
CodeCell . options_default = {
126
126
cm_config : {
127
127
extraKeys : {
128
- "Tab" : "indentMore" ,
129
- "Shift-Tab" : "indentLess" ,
130
128
"Backspace" : "delSpaceToPrevTabStop" ,
131
- "Cmd-/" : "toggleComment" ,
132
- "Ctrl-/" : "toggleComment"
133
129
} ,
134
130
mode : 'text' ,
135
131
theme : 'ipython' ,
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ define([
70
70
71
71
TextCell . options_default = {
72
72
cm_config : {
73
- extraKeys : { "Tab" : "indentMore" , "Shift-Tab" : "indentLess" } ,
74
73
mode : 'htmlmixed' ,
75
74
lineWrapping : true ,
76
75
}
You can’t perform that action at this time.
0 commit comments