Jupyter/IPython Notebooks: Shortcut for "run all"?

Easiest solution:

Win/Linux:

  1. Esc (unselect potential cells or edit modes)

  2. CtrlA (select all cells)

  3. ShiftEnter (run all selected)

Mac:

  1. Esc (unselect potential cells or edit modes)

  2. A (select all cells)

  3. ShiftEnter (run all selected)


For the latest jupyter notebook, (version 5) you can go to the 'help' tab in the top of the notebook and then select the option 'edit keyboard shortcuts' and add in your own customized shortcut for the 'run all' function.