Show More
@@ -368,6 +368,15 b' define(function(require){' | |||||
368 | return env.notebook.scroll_manager.scroll(-1); |
|
368 | return env.notebook.scroll_manager.scroll(-1); | |
369 | }, |
|
369 | }, | |
370 | }, |
|
370 | }, | |
|
371 | 'recenter-top-bottom': { | |||
|
372 | help: "Move the current cell to the center, top or bottom", | |||
|
373 | handler: function (env, event) { | |||
|
374 | if(event){ | |||
|
375 | event.preventDefault(); | |||
|
376 | } | |||
|
377 | return env.notebook.scroll_to_bottom(); | |||
|
378 | } | |||
|
379 | }, | |||
371 | 'save-notebook':{ |
|
380 | 'save-notebook':{ | |
372 | help: "Save and Checkpoint", |
|
381 | help: "Save and Checkpoint", | |
373 | help_index : 'fb', |
|
382 | help_index : 'fb', |
@@ -79,7 +79,8 b' define([' | |||||
79 | 'up' : 'ipython.move-cursor-up-or-previous-cell', |
|
79 | 'up' : 'ipython.move-cursor-up-or-previous-cell', | |
80 | 'down' : 'ipython.move-cursor-down-or-next-cell', |
|
80 | 'down' : 'ipython.move-cursor-down-or-next-cell', | |
81 | 'ctrl-shift--' : 'ipython.split-cell-at-cursor', |
|
81 | 'ctrl-shift--' : 'ipython.split-cell-at-cursor', | |
82 | 'ctrl-shift-subtract' : 'ipython.split-cell-at-cursor' |
|
82 | 'ctrl-shift-subtract' : 'ipython.split-cell-at-cursor', | |
|
83 | 'ctrl-l' : 'ipython.recenter-top-bottom' | |||
83 | }; |
|
84 | }; | |
84 | }; |
|
85 | }; | |
85 |
|
86 |
General Comments 0
You need to be logged in to leave comments.
Login now