aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 08:21:20 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 08:21:20 -0500
commit623f45f2781ed6c489672dcfb09d877657dbe1da (patch)
treefd3075dd3e99e2b64bdf8cd2a9bae5db7ca22a84 /modules
parentc123250c3cf928864aab118e1b9bfbaf9e1102b3 (diff)
downloaddotemacs-623f45f2781ed6c489672dcfb09d877657dbe1da.tar.gz
dotemacs-623f45f2781ed6c489672dcfb09d877657dbe1da.zip
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.
Diffstat (limited to 'modules')
-rw-r--r--modules/org-config.el20
1 files changed, 11 insertions, 9 deletions
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"