observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

alt-shift-down/up has duplicate actions - focus next/previous cell and copy line up/down #410

Open awconway opened 2 years ago

awconway commented 2 years ago

Describe the bug alt-shift-down/up has duplicate actions - focus next/previous cell and copy line up/down

On windows this shortcut only focuses previous/next cell

To Reproduce See https://observablehq.com/@observablehq/keyboard-shortcuts

Expected behavior There should be separate shortcuts. Preferably alt-shift-up/down should be for copying a line up/down like other text editors and a separate shortcut used for focus next/previous cell.

Desktop (please complete the following information):

mootari commented 2 years ago

Shortcuts work differently depending on wether you're in edit mode (i.e., typing text), or focus mode (where you'll see a blue outline around a cell). You can switch from edit mode to focus mode by pressing Escape, and switch back to edit mode by pressing Enter.

From your description it seems that you cannot duplicate lines while in edit mode?

awconway commented 2 years ago

That's correct. alt-shift-down/up (in edit mode) focuses to next/previous cell on my windows computer.