简体   繁体   English

IdeaVim与PyCharm上的Jupyter笔记本

[英]IdeaVim with Jupyter Notebook on PyCharm

I am trying out IntelliJ. 我正在尝试使用IntelliJ。 I have installed the Python plugin, and IdeaVim. 我已经安装了Python插件和IdeaVim。

I cannot navigate properly across Jupyter Notebook cells using hj . 我无法使用hj在Jupyter Notebook单元格中正确导航。 I mean, on normal mode, I cannot go to the next (or previous) cell, even if there is one, using hj . 我的意思是,在普通模式下,我不能使用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. 我已阅读该教程,并试图在程序中找到一些东西,但不能。

Ideavim plugin doesn't seem to support Pycharm's notebook implementation as of right now :( Ideavim插件似乎现在不支持Pycharm的笔记本实现:(

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. 在Ideavim的问题跟踪器上有一个标记为“bug”的未解决问题 ,该问题于2015年开放,似乎从那时起没有取得任何进展。
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 进入命令模式的有趣方式是键入内容,以便显示建议面板,现在按“esc”,您将进入Vim命令模式

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. 作为替代方案,您可以尝试使用jupyter-vim-binding ,但它也不能与Pycharm一起使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM