- Add Table of Contents to your Jupyter Notebook
```
require(["codemirror/keymap/sublime", "notebook/js/cell"], function(sublime_keymap, cell) {
cell.Cell.options_default.cm_config.keyMap = 'sublime';
});
```
```
$([IPython.events]).on("app_initialized.NotebookApp", function() {
IPython.keyboard_manager.command_shortcuts.add_shortcut('ctrl-k', function(event) {
IPython.notebook.move_cell_up();
return false;
});
});
```