Is it possible to add a custom shortcut in Jupyter Notebook?

末鹿安然 提交于 2021-02-11 12:35:53

问题


I would like to add a markdown cell in Jupyter Notebook using a shortcut, since adding a new cell and changing it to Markdown cell takes so much steps and feels painstaking at times.

But it seems that there is no such shortcut; so now I'm searching for a way, if any, to add a custom shortcut in Jupyter Notebook.

Is it possible to define a custom shortcut?


回答1:


Jupyter has a way to customize keyboard shortcuts. However, I'm not sure if what you're asking is available. I don't find it that tedious to add a Markdown cell by quickly pressing esc (a or b) m enter in succession, where (a or b) is if you want the cell above or below the current cell.



来源:https://stackoverflow.com/questions/45389894/is-it-possible-to-add-a-custom-shortcut-in-jupyter-notebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!