是否可以在Jupyter Notebook中添加自定义快捷方式? [英] Is it possible to add a custom shortcut in Jupyter Notebook?

查看:134
本文介绍了是否可以在Jupyter Notebook中添加自定义快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用快捷方式在Jupyter Notebook中添加markdown单元格,因为添加新单元格并将其更改为Markdown单元格需要花费很多步骤,有时会感到费力.

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.

但是似乎没有这样的捷径.所以现在我正在寻找一种在Jupyter Notebook中添加自定义快捷方式的方法.

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?

推荐答案

Jupyter 具有自定义键盘快捷键的方法.但是,我不确定您要问的内容是否可用.我发现连续快速按下esc (a or b) m enter来添加Markdown单元格并不是一件繁琐的事情,其中​​(a或b)是您希望该单元格在当前单元格之上还是之下.

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.

这篇关于是否可以在Jupyter Notebook中添加自定义快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆