是否有在Jupyter的编辑模式下删除行的快捷方式? [英] Is there a shortcut for deleting a line in Jupyter's edit mode?

查看:130
本文介绍了是否有在Jupyter的编辑模式下删除行的快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Jupyter的编辑模式下,是否存在删除一行文本的快捷方式?像是Visual Studio中的 Ctrl + L ?

In Jupyter's edit mode, is there a shortcut for deleting a line of text? Something like Ctrl + L in Visual Studio?

推荐答案

Shift + 删除 Ctrl + D 或两者,取决于版本.

Shift + Delete or Ctrl + D or both, depending on version.

Ctrl + D 在笔记本菜单的HelpKeyboard Shortcuts下列出,但 Shift + Delete 尽管没有记录,但似乎仍然可以正常工作.

Ctrl + D is listed under HelpKeyboard Shortcuts in the notebook menu, but Shift + Delete seems to work despite being undocumented.

这篇关于是否有在Jupyter的编辑模式下删除行的快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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