在 colaboratory 中使用 jupyter notebook 快捷方式
Using jupyter notebook shortcuts in colaboratory
有没有一种简单的方法可以使用默认的 jupyter notebook 快捷方式来代替 colab 中的默认快捷方式?
热键似乎也无法区分单元格是否处于活动状态,这使得使用简单的热键(例如 'b'-> 在之后插入单元格)变得不可能。
关于如何克服这个问题的任何建议,或者我们是否必须习惯(稍微)不同的快捷方式?
Colab 目前不支持此功能 -- this issue 是后续支持的功能。
使用 Ctrl+Shift+P,它会为您提供搜索栏,从那里开始很容易。
您可以按照以下步骤编辑现有的快捷方式或设置新的快捷方式:
- 从菜单 select 工具,然后 "Keyboard shortcuts"(或者您可以使用 Ctrl+M H 快捷键),
- 这将打开键盘首选项框,
- 现在您可以编辑快捷方式或设置新的快捷方式,
- 完成后,您可以按 "SAVE" 按钮保存您的首选项。
是的。在这里查看:https://medium.com/@tuewithmorris/google-colab-notebooks-keyboard-shortcuts-aa6a008fb91b
Description, Keyboard Shortcut, Jupyter shortcut
show keyboard shortcuts Ctrl/Cmd M H H
Insert code cell above Ctrl/Cmd M A A
Insert code cell below Ctrl/Cmd M B B
Delete cell/selection Ctrl/Cmd M D DD
Interrupt execution Ctrl/Cmd M I II
Convert to code cell Ctrl/Cmd M Y Y
Convert to text cell Ctrl/Cmd M M M
Split at cursor Ctrl/Cmd M - Ctrl Shift -
有没有一种简单的方法可以使用默认的 jupyter notebook 快捷方式来代替 colab 中的默认快捷方式?
热键似乎也无法区分单元格是否处于活动状态,这使得使用简单的热键(例如 'b'-> 在之后插入单元格)变得不可能。
关于如何克服这个问题的任何建议,或者我们是否必须习惯(稍微)不同的快捷方式?
Colab 目前不支持此功能 -- this issue 是后续支持的功能。
使用 Ctrl+Shift+P,它会为您提供搜索栏,从那里开始很容易。
您可以按照以下步骤编辑现有的快捷方式或设置新的快捷方式:
- 从菜单 select 工具,然后 "Keyboard shortcuts"(或者您可以使用 Ctrl+M H 快捷键),
- 这将打开键盘首选项框,
- 现在您可以编辑快捷方式或设置新的快捷方式,
- 完成后,您可以按 "SAVE" 按钮保存您的首选项。
是的。在这里查看:https://medium.com/@tuewithmorris/google-colab-notebooks-keyboard-shortcuts-aa6a008fb91b
Description, Keyboard Shortcut, Jupyter shortcut
show keyboard shortcuts Ctrl/Cmd M H H
Insert code cell above Ctrl/Cmd M A A
Insert code cell below Ctrl/Cmd M B B
Delete cell/selection Ctrl/Cmd M D DD
Interrupt execution Ctrl/Cmd M I II
Convert to code cell Ctrl/Cmd M Y Y
Convert to text cell Ctrl/Cmd M M M
Split at cursor Ctrl/Cmd M - Ctrl Shift -