Outliner shortcuts, folding, and a Vim mode for the block editor #489

Open
opened 2026-10-16 11:20:49 +00:00 by kayg · 2 comments
Owner

kayg (2026-10-16): outliner shortcuts.

  • Move up/down: make ⌘⇧↑/↓ (Ctrl+Shift+↑/↓) the main shortcut, keeping ⌘⌥↑/↓.
  • Fold/unfold: ⌘⌥[ / ⌘⌥] and a tap on the bullet dot. NOT ⌘., which is focus mode.
  • Show them in the block ⋯ menu and tooltips.
  • Phone keyboard toolbar: indent, outdent, up, down.
  • Block mode should look like a soft accent ring, not selected text.

Plus VIM MODE as an editor plugin (VM1–VM5 in chat): off by default; Esc = normal mode; block mode = Esc twice or V; >> << za gd mappings; the caret shape shows the mode; auto-off on touch without a keyboard. Fold and the block-mode look get mocked up first.

kayg (2026-10-16): outliner shortcuts. - Move up/down: make ⌘⇧↑/↓ (Ctrl+Shift+↑/↓) the main shortcut, keeping ⌘⌥↑/↓. - Fold/unfold: ⌘⌥[ / ⌘⌥] and a tap on the bullet dot. NOT ⌘., which is focus mode. - Show them in the block ⋯ menu and tooltips. - Phone keyboard toolbar: indent, outdent, up, down. - Block mode should look like a soft accent ring, not selected text. Plus VIM MODE as an editor plugin (VM1–VM5 in chat): off by default; Esc = normal mode; block mode = Esc twice or V; >> << za gd mappings; the caret shape shows the mode; auto-off on touch without a keyboard. Fold and the block-mode look get mocked up first.
Author
Owner

kayg's answers (2026-10-16):

  • VM1: off by default.
  • VM2: Esc = normal mode. How to reach block selection is still open.
  • VM3: as many Vim motions as make sense.
  • VM4: the caret shape shows the mode.
  • VM5: off on phones and tablets without a keyboard.

Bug: Esc outside Vim selects the block's whole TEXT, which looks exactly like a text selection. Block selection must look distinct: a ring or plate around the block, the text not highlighted, and the caret hidden.

**kayg's answers (2026-10-16):** - **VM1:** off by default. - **VM2:** Esc = normal mode. How to reach block selection is still open. - **VM3:** as many Vim motions as make sense. - **VM4:** the caret shape shows the mode. - **VM5:** off on phones and tablets without a keyboard. **Bug:** Esc outside Vim selects the block's whole TEXT, which looks exactly like a text selection. Block selection must look distinct: a ring or plate around the block, the text not highlighted, and the caret hidden.
Author
Owner

Block selection is on chrome.html (PR #500): a ring and soft plate with no text highlight and no caret; handle click selects, shift-click stretches, Esc selects and Esc again leaves, arrows move, shift-arrows stretch, cmd/ctrl+shift+arrows move the blocks, Tab nests, Delete removes with Undo, cmd/ctrl+C copies Markdown, Enter edits; phone long-press at a block's start selects it and shows its actions. Scripted checks pass in Chromium; the phone long-press needs your finger. Link: https://preview.calternal.cloud/chrome.html#/note/calternal-rewrite?list=all (click into a bullet, press Esc).

Block selection is on chrome.html (PR #500): a ring and soft plate with no text highlight and no caret; handle click selects, shift-click stretches, Esc selects and Esc again leaves, arrows move, shift-arrows stretch, cmd/ctrl+shift+arrows move the blocks, Tab nests, Delete removes with Undo, cmd/ctrl+C copies Markdown, Enter edits; phone long-press at a block's start selects it and shows its actions. Scripted checks pass in Chromium; the phone long-press needs your finger. Link: https://preview.calternal.cloud/chrome.html#/note/calternal-rewrite?list=all (click into a bullet, press Esc).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#489
No description provided.