krz/orgstar

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

Commit 8747c1880d

8747c1880dce12825eeb095776dcba284ca4f646

parent: f663dac299

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-06 01:42 UTC

Default TODO keywords with Doom's fast keys

Org uses fast TODO selection only when keywords have keys; the default
had dropped Doom's.

Layout: unified · split

Sources/OrgApp/UserConfig.swift +2 −2
@@ -72,8 +72,8 @@ public enum UserConfig {
7272 comment: "hide *bold* and =code= markers when markup is hidden", legacy: "editor.hide-emphasis-markers"),
7373 Setting(section: "", key: "org-pretty-entities", defaultsKey: "prettyEntities", kind: .bool, fallback: .bool(true),
7474 comment: "\\alpha shows as α and x_{1} is lowered when markup is hidden", legacy: "editor.pretty-entities"),
75 Setting(section: "", key: "org-todo-keywords", defaultsKey: "todoKeywords", kind: .string, fallback: .string("TODO PROJ LOOP STRT WAIT HOLD IDEA | DONE KILL"),
76 comment: "for files without #+TODO, in #+TODO syntax, one sequence per line (\\n); read at launch", legacy: "editor.todo-keywords"),
75 Setting(section: "", key: "org-todo-keywords", defaultsKey: "todoKeywords", kind: .string, fallback: .string("TODO(t) PROJ(p) LOOP(r) STRT(s) WAIT(w) HOLD(h) IDEA(i) | DONE(d) KILL(k)"),
76 comment: "for files without #+TODO, in #+TODO syntax, one sequence per line (\\n); keys in parentheses turn on fast selection; read at launch", legacy: "editor.todo-keywords"),
7777 Setting(section: "", key: "org-log-done", defaultsKey: "logDone", kind: .choice([("nil", "nil"), ("time", "time"), ("note", "note")]),
7878 fallback: .string("nil"), comment: "nil, time (CLOSED when done) or note (CLOSED and a note)", legacy: ""),
7979 Setting(section: "", key: "org-log-into-drawer", defaultsKey: "logIntoDrawer", kind: .string, fallback: .string(""),
Sources/Orgstar/Preferences.swift +1 −1
@@ -4,7 +4,7 @@ import OrgCore
44
55/// Org preferences, stored in user defaults by the Settings window.
66enum Preferences {
7 static let defaultTodoKeywords = "TODO PROJ LOOP STRT WAIT HOLD IDEA | DONE KILL"
7 static let defaultTodoKeywords = "TODO(t) PROJ(p) LOOP(r) STRT(s) WAIT(w) HOLD(h) IDEA(i) | DONE(d) KILL(k)"
88
99 /// TODO keywords for files without `#+TODO`, read at launch.
1010 @MainActor