krz/orgstar

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

Commit c17f1e91fb

c17f1e91fb95d799ef4abd75c755a59708862426

parent: d97c1b6580

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-08 04:06 UTC

Bind M-q to fill paragraph in every Doom state

Layout: unified · split

Sources/OrgCore/Keymap/Presets.swift +1 −1
@@ -67,7 +67,7 @@ public enum KeymapPreset: String, Sendable, CaseIterable {
67 || (first.modifiers.contains(.meta) && ["<left>", "<right>", "<up>", "<down>", "RET"].contains(first.key)) 67 || (first.modifiers.contains(.meta) && ["<left>", "<right>", "<up>", "<down>", "RET"].contains(first.key))
68 || (first.modifiers.contains(.shift) && ["<left>", "<right>", "<up>", "<down>"].contains(first.key)) 68 || (first.modifiers.contains(.shift) && ["<left>", "<right>", "<up>", "<down>"].contains(first.key))
69 || (first.modifiers == [.control] && first.key == "RET") 69 || (first.modifiers == [.control] && first.key == "RET")
70 || keys == "M-x" 70 || keys == "M-x" || keys == "M-q"
71 guard orgKey else { continue } 71 guard orgKey else { continue }
72 for mode in ["normal", "insert", "visual"] { bind(keys, binding.command, when: binding.when, mode: mode) } 72 for mode in ["normal", "insert", "visual"] { bind(keys, binding.command, when: binding.when, mode: mode) }
73 // evil-org: M-h/j/k/l and M-H/J/K/L in normal, visual and insert. 73 // evil-org: M-h/j/k/l and M-H/J/K/L in normal, visual and insert.