krz/orgstar

A native macOS editor for org-mode files. editor org-mode swift

Commit 82594f0cde

82594f0cde1816f45583a9ffc218db803a063672

parent: 424b251694

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-08 03:51 UTC

Correct key hints in comments and the footnote message

The footnote jump named C-c &, which nothing binds; going back is C-c
C-c or C-c C-x f on the definition's label. MarkSubtree is bound to
C-c @ and the @ speed key, not M-h. The C-c C-c header now mentions
checkbox toggling.

Layout: unified · split

Sources/OrgCore/Commands/CtrlCCtrlC.swift +2 −2
@@ -2,8 +2,8 @@ import Foundation
22
33// C-c C-c (`org-ctrl-c-ctrl-c`, Org 9.8.7) for the contexts no more specific binding takes:
44// headings set tags, clock lines get their duration again, timestamps their weekday, cookies
5// update, items without a checkbox have their list repaired, setup keywords refresh, and
6// elsewhere there's nothing to do.
5// update, items toggle their checkbox, or without one have their list repaired, setup keywords
6// refresh, and elsewhere there's nothing to do.
77
88/// `org-ctrl-c-ctrl-c`.
99public struct CtrlCCtrlC: OrgCommand {
Sources/OrgCore/Commands/Footnotes.swift +1 −1
@@ -513,7 +513,7 @@ public struct FootnoteAction: OrgCommand {
513513 return .commit(EditResult(baseRevision: result.baseRevision, edits: result.edits, selection: result.selection, effects: result.effects + [.message(message)]))
514514 }
515515
516 static let definitionMessage = "Edit definition and go back with `C-c &' or, if unique, with `C-c C-c'."
516 static let definitionMessage = "Edit definition and go back with `C-c C-c' or `C-c C-x f' on its label."
517517
518518 private func move(_ context: EditContext, to offset: Int, message: String? = nil) -> CommandStep {
519519 .commit(EditResult(baseRevision: context.revision, edits: [], selection: [offset..<offset], effects: message.map { [.message($0)] } ?? []))
Sources/OrgCore/Commands/ToggleCommands.swift +1 −1
@@ -326,7 +326,7 @@ extension EmacsBuffer {
326326 }
327327}
328328
329/// C-c @ and M-h on a heading: `org-mark-subtree`, the subtree selected from its heading.
329/// C-c @ (and the speed key @) on a heading: `org-mark-subtree`, the subtree selected from its heading.
330330public struct MarkSubtree: OrgCommand {
331331 public init() {}
332332 public var id: String { "org.subtree.mark" }