Commit c17f1e91fb
Verified · cmc
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. |