gpt4 book ai didi

jupyter-notebook - 用于 jupyter notebook/lab 的 Vim 绑定(bind),例如 Colab

转载 作者:行者123 更新时间:2023-12-05 07:15:04 25 4
gpt4 key购买 nike

有没有办法像在 colab 中那样在 jupyter notebook/lab 中绑定(bind) vim。在包含的 jupyter Lab 的 vim 绑定(bind)中,单元格 block 内没有用于编辑的 NORMAL 模式。然而,Colab 具有更好的绑定(bind),因为它允许在单元 block 内部使用。

最佳答案

我已经成功地使用了以下过程(使用 Conda、Ubuntu 20.04)。

在终端中:

conda install -c conda-forge jupyter_contrib_nbextensions

jupyter contrib nbextension install --user

conda install -c conda-forge jupyter_contrib_nbextensions

jupyter contrib nbextension install --user

jupyter --data-dir

cd /home/<USER>/.local/share/jupyter/nbextensions

git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding

jupyter nbextension enable vim_binding/vim_binding

jupyter notebook

关于jupyter-notebook - 用于 jupyter notebook/lab 的 Vim 绑定(bind),例如 Colab,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59746583/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com