Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IdeaVim with Jupyter Notebook on PyCharm

I am trying out IntelliJ. I have installed the Python plugin, and IdeaVim.

I cannot navigate properly across Jupyter Notebook cells using hj. I mean, on normal mode, I cannot go to the next (or previous) cell, even if there is one, using hj.

Is there a way to do it without the mouse, possibly rebindable? I have read the tutorial and tried to find something in the program, but could not.

like image 223
Elvis Sikora Avatar asked Sep 13 '16 23:09

Elvis Sikora


People also ask

Can I use Jupyter notebook in PyCharm?

With Jupyter Notebook integration available in PyCharm , you can easily edit, execute, and debug notebook source code and examine execution outputs including stream data, images, and other media.

Is Jupyter notebook better than PyCharm?

Jupyter Notebook and PyCharm have distinct features, which makes each tool better for specific applications. For instance, Jupyter's features are more suited to data analysts and research applications, whereas PyCharm's features are designed for developers and software engineering.


1 Answers

Ideavim plugin doesn't seem to support Pycharm's notebook implementation as of right now :(

There's an open issue marked as "bug" on Ideavim's issue tracker that was opened back in 2015 and it seems like it doesn't have any progress made since.
However according to the comment in the issue thread you can:

funny way to get into the command mode is type something so that the suggestion panel appears, now press "esc" you will get into Vim command mode

So this might indicate that this could be solved and updated in the future.

As an alternative you can try out jupyter-vim-binding, however it doesn't work with Pycharm either.

like image 164
Granitosaurus Avatar answered Sep 26 '22 01:09

Granitosaurus