Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions frontend/src/core/hotkeys/hotkeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ const DEFAULT_HOT_KEY = {
group: "Editing",
key: "F2",
},
"cell.duplicateSelection": {
name: "Duplicate selection",
group: "Editing",
key: "Ctrl-Shift-ArrowDown",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
key: "Ctrl-Shift-ArrowDown",
key: "Ctrl-Shift-ArrowDown",
editable: false,

since right now we don't override it in the codemirror settings, this needs to be set to not editable

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies about this - missed the codemirror related items. I do see that you use the up/down shortcuts as copy line up/down, I can convert mine to reflect that nomenclature for consistency, if that's desired?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me, it copies full lines. so i think Copy line(s) down would be fine text.
I would also maybe add Copy line(s) up as well

Copy link
Contributor Author

@minsun-ss minsun-ss Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense - added the two lines and set them both to noneditable.

image

},

// Markdown
"markdown.bold": {
Expand Down