From 623f45f2781ed6c489672dcfb09d877657dbe1da Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 May 2026 08:21:20 -0500 Subject: refactor(org-config): move org-table-map under the org menu `(keymap-set cj/custom-keymap "T" cj/org-table-map)' at top level silently collided with `cj/transcribe-map' bound to the same key in `modules/transcription-config.el'. Whichever module loaded last won, the other prefix became unreachable, and which-key still showed both labels in their respective sections -- so the visible documentation didn't match what actually fired. Move the table map under the existing `cj/org-map' (`C-; O') as the "T" sub-prefix, so `C-; T r i' becomes `C-; O T r i' and friends. The org menu only had one entry before (clear element cache); table operations are a natural neighbor. Frees `C-; T' at the top level for the transcription menu, which was the only other module fighting over it. --- modules/org-config.el | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'modules') diff --git a/modules/org-config.el b/modules/org-config.el index caac29fd..e13dc59f 100644 --- a/modules/org-config.el +++ b/modules/org-config.el @@ -128,11 +128,13 @@ :init (defvar-keymap cj/org-table-map :doc "org table operations.") - (keymap-set cj/custom-keymap "T" cj/org-table-map) (defvar-keymap cj/org-map :doc "General org-mode operations and utilities.") (keymap-set cj/custom-keymap "O" cj/org-map) + ;; Table operations live under the org menu (was at top-level "T", + ;; which collided silently with `cj/transcribe-map'). + (keymap-set cj/org-map "T" cj/org-table-map) :bind ("C-c c" . org-capture) ("C-c a" . org-agenda) @@ -322,14 +324,14 @@ status to preserve priority ordering within TODO groups." ;; org general operations "C-; O" "org menu" "C-; O c" "clear element cache" - ;; org table operations - "C-; T" "org table menu" - "C-; T r" "table row" - "C-; T r i" "insert row" - "C-; T r d" "delete row" - "C-; T c" "table column" - "C-; T c i" "insert column" - "C-; T c d" "delete column" + ;; org table operations (under the org menu) + "C-; O T" "org table menu" + "C-; O T r" "table row" + "C-; O T r i" "insert row" + "C-; O T r d" "delete row" + "C-; O T c" "table column" + "C-; O T c i" "insert column" + "C-; O T c d" "delete column" ;; org global bindings "C-c a" "org agenda" "C-c c" "org capture" -- cgit v1.2.3