python - 如何从 Jupyter 笔记本中删除 emacs 键绑定?
问题描述
在过去的某个时候,我使用以下软件包将 emacs 键绑定安装到我的 jupyter 笔记本中: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
}
只需删除它并重新启动内核。
推荐阅读
- java - Android Studio 模拟器问题我无法使用模拟器
- git - Git Jenkins - 如何在脚本管道声明中跳过 git fetch 标签?
- c - 在这个 C 程序中,静态变量在内存中的位置如何变化?
- r - 获取数组的索引
- python - 熊猫按月计算计数
- r - 如何匹配 R 中两个不同 image.plots 中的颜色?
- java - 如何跳过不使用 JAXB 验证的节点
- neo4j - Neo4j http Cypher 查询非法字符'{'
- r - R xml解析-只有属性
- ios - UICollectionViewCell Segue 到新的 ViewController