Default TODO keywords with Doom's fast keys !69
2 files changed, +3 −3
Layout: unified · split
Sources/OrgApp/UserConfig.swift +2 −2
| @@ -72,8 +72,8 @@ public enum UserConfig { | ||
| 72 | 72 | comment: "hide *bold* and =code= markers when markup is hidden", legacy: "editor.hide-emphasis-markers"), |
| 73 | 73 | Setting(section: "", key: "org-pretty-entities", defaultsKey: "prettyEntities", kind: .bool, fallback: .bool(true), |
| 74 | 74 | 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"), | |
| 77 | 77 | Setting(section: "", key: "org-log-done", defaultsKey: "logDone", kind: .choice([("nil", "nil"), ("time", "time"), ("note", "note")]), |
| 78 | 78 | fallback: .string("nil"), comment: "nil, time (CLOSED when done) or note (CLOSED and a note)", legacy: ""), |
| 79 | 79 | 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 | ||
| 4 | 4 | |
| 5 | 5 | /// Org preferences, stored in user defaults by the Settings window. |
| 6 | 6 | enum 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)" | |
| 8 | 8 | |
| 9 | 9 | /// TODO keywords for files without `#+TODO`, read at launch. |
| 10 | 10 | @MainActor |