%%javascript IPython.keyboard_manager.command_shortcuts.add_shortcut('r', { help : 'run cell', help_index : 'zz', handler : function (event) { IPython.notebook.execute_cell(); return false; }} ); %%javascript IPython.keyboard_manager.command_shortcuts.add_shortcut('r', function (event) { IPython.notebook.execute_cell(); return false; }); %%javascript IPython.keyboard_manager.command_shortcuts.remove_shortcut('r');