Show More
@@ -85,7 +85,13 b' var IPython = (function (IPython) {' | |||||
85 |
|
85 | |||
86 | CodeCell.options_default = { |
|
86 | CodeCell.options_default = { | |
87 | cm_config : { |
|
87 | cm_config : { | |
88 | extraKeys: {"Tab": "indentMore","Shift-Tab" : "indentLess",'Backspace':"delSpaceToPrevTabStop"}, |
|
88 | extraKeys: { | |
|
89 | "Tab" : "indentMore", | |||
|
90 | "Shift-Tab" : "indentLess", | |||
|
91 | "Backspace" : "delSpaceToPrevTabStop", | |||
|
92 | "Cmd-/" : "toggleComment", | |||
|
93 | "Ctrl-/" : "toggleComment" | |||
|
94 | }, | |||
89 | mode: 'ipython', |
|
95 | mode: 'ipython', | |
90 | theme: 'ipython', |
|
96 | theme: 'ipython', | |
91 | matchBrackets: true |
|
97 | matchBrackets: true |
@@ -211,6 +211,7 b' class="notebook_app"' | |||||
211 | <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script> |
|
211 | <script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script> | |
212 | <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script> |
|
212 | <script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script> | |
213 | <script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script> |
|
213 | <script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script> | |
|
214 | <script src="{{ static_url("components/codemirror/addon/comment/comment.js") }}" charset="utf-8"></script> | |||
214 | <script src="{{ static_url("notebook/js/codemirror-ipython.js") }}" charset="utf-8"></script> |
|
215 | <script src="{{ static_url("notebook/js/codemirror-ipython.js") }}" charset="utf-8"></script> | |
215 | <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script> |
|
216 | <script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script> | |
216 | <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script> |
|
217 | <script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script> |
General Comments 0
You need to be logged in to leave comments.
Login now