⌘ + ↑ / ⌘ + ↓ to navigate document

⌘ + ↑ / ⌘ + ↓ to navigate document

#27Bug

I was surprised to see ⌘ + ↑ & ⌘ + ↓ taken as Collapse / Expand menu item shortcuts. In all other macOS document editors, those navigate to the top or bottom of the editable area.

2 issues –

  1. I never saw them work as expected. I had a node with nested children, and I was never able to collapse or expand them.
  2. Even after removing those assigned shortcuts, I would still expect those to navigate to the top or bottom of the currently editable area.

@connor
Thanks, and you're right. On the Mac, ⌘ + ↑ and ⌘ + ↓ should jump to the top and bottom of the document. I set them to Collapse and Expand to match WorkFlowy and other popular cross-platform outliners, but the native Mac convention would have been the better default. Still, I want to be careful about changing it now.

  1. I haven't been able to reproduce this yet. Here, ⌘ + ↑ and ⌘ + ↓ collapse and expand as expected, and they keep working even after I reassign the shortcut. They only stop when the shortcut is unassigned. If they failed for you while a shortcut was still assigned, there may be some condition that disables them, and I'll investigate that in detail.

  2. This one I can act on right away, and it won't affect anyone on the defaults. When the shortcut is unassigned, ⌘ + ↑ and ⌘ + ↓ will fall back to the normal Mac behavior and move to the top and bottom of the editable area. I'll start on that.

In 1.15.3, unassigning ⌘+↑/↓ or ⌘+⇧+↑/↓ makes them move or select to the start or end of the document.
https://forum.kosshi.app/t/23

Delete post

The post body and edit history will be removed. A deleted-post notice stays in the thread.

Open original