Jupyter Notebook - Keyboard Shortcuts or General Navigation?

What's the recommended way to navigate around a Jupyter Notebook file within Pycharm? I tried using the standard Jupyter Notebook keyboard shortcuts and they didn't seem to work. For example, "Ctrl-M m" should turn a cell into Markdown, or "Ctrl-M b" should create a new cell below the current one. These don't appear to work. 

Thank you.

2
4 comments
Official comment

Hi!
Shortcuts for some actions differ in PyCharm and Notebook, because some of Jupyter Notebook shortcuts are already used in PyCharm. To turn cell to Markdown please use Ctrl-Shift-M, to add cell Ctr= (this shortcut you can also see in add button tooltip on the toolbar, see screenshot below).  Also, we have plans to create a keymap for Jupyter Notebook shortcuts, here's an issue for this.


 

 

Avatar
Permanently deleted user

I too miss being able to use most of the standard Jupyter notebook keyboard shortcuts when running a notebook within PyCharm. The way I'm using notebooks right now I'm particularly missing the Run-All-Cells and Run-All-Cells-Below shortcuts. Also, from the PyCharm v2016.3 docs it looks like ^R used to be a shortcut for Run-All-Cells, but doesn't seem to work anymore in v2017.2?

Good to hear there are plans for a Jupyter keymap!

1
Avatar
Permanently deleted user

Are all the keyboard shortcuts for jupyter notebooks in PyCharm documented somewhere?

3
Avatar
Permanently deleted user

...and specifically is there a keyboard shortcut to change between code and markdown modes for a cell?

1

Please sign in to leave a comment.