在过去的某个时候,我使用以下软件包将 emacs 键绑定(bind)安装到我的 jupyter notebook 中:https://github.com/rmcgibbo/jupyter-emacskeys
我正在尝试删除它们,因为键绑定(bind)在 notebook 中对我来说不如在 emacs 中有效,我更喜欢恢复默认键绑定(bind)。
我尝试卸载键绑定(bind)
pip 卸载 jupyter-emacskeys
虽然它确实卸载了软件包,但键绑定(bind)仍然存在。我尝试通过运行重新安装 jupyter
pip 卸载 jupyter pip 安装 jupyter
但是键绑定(bind)仍然存在,我怎样才能恢复默认键绑定(bind)?
请您参考如下方法:
打开文件 ~/.jupyter/nbconfig/notebook.json,你的 load_extensions 值是这样的: “load_extensions”:{ “jupyter_emacskeys/init”:真 } 只需删除它并重新启动内核即可。
