如何从 Jupyter 笔记本中删除 emacs 键绑定?

How to remove emacs keybindings from Jupyter notebook?

在过去的某个时候,我使用以下软件包将 emacs 键绑定安装到我的 jupyter notebook 中:https://github.com/rmcgibbo/jupyter-emacskeys

我正在尝试删除它们,因为键绑定在我的笔记本中不如在 emacs 中对我有用,我希望恢复默认键绑定。

我尝试使用

卸载键绑定

pip uninstall jupyter-emacskeys

虽然它确实卸载了软件包,但键绑定仍然存在。我尝试通过 运行

重新安装 jupyter

pip uninstall jupyter pip install jupyter

但键绑定仍然存在,我该如何恢复默认键绑定?

打开文件 ~/.jupyter/nbconfig/notebook.json,您的 load_extensions 值是这样的: "load_extensions": { "jupyter_emacskeys/init": true } 只需删除它并重新启动内核。