Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

add duplicate selection shortcut to hotkeys as part of editing command (#6843)

Sharonf56cd712d962
diff --git a/frontend/src/core/hotkeys/hotkeys.ts b/frontend/src/core/hotkeys/hotkeys.ts
index 8ea908f5a5..cfaee058d7 100644
--- a/frontend/src/core/hotkeys/hotkeys.ts
+++ b/frontend/src/core/hotkeys/hotkeys.ts
@@ -239,6 +239,18 @@ const DEFAULT_HOT_KEY = {
group: "Editing",
key: "F2",
},
+ "cell.copyLineUp": {
+ name: "Copy line(s) up",
+ group: "Editing",
+ key: "Alt-Shift-ArrowUp",
+ editable: false,
+ },
+ "cell.copyLineDown": {
+ name: "Copy line(s) down",
+ group: "Editing",
+ key: "Alt-Shift-ArrowDown",
+ editable: false,
+ },
// Markdown
"markdown.bold": {