diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-16 09:41:58 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-16 09:41:58 -0500 |
| commit | bd35c3a74bfa329907f4ab15628197dd39e76c65 (patch) | |
| tree | 4d7023e756caea5130d137c2e40c6e0cdac775a0 /modules | |
| parent | 92538504f829ca49643ed0212e0af823cce9167a (diff) | |
| download | dotemacs-bd35c3a74bfa329907f4ab15628197dd39e76c65.tar.gz dotemacs-bd35c3a74bfa329907f4ab15628197dd39e76c65.zip | |
feat(keybindings): mirror the C-; command family under C-c ;
C-; is GUI-only: terminals can't encode Control-semicolon, so the whole custom command family (calendar, AI, Slack, org, pearl, jump, and the rest) was unreachable in a terminal frame (emacs -nw, emacsclient -nw, or Emacs inside vterm/tmux). I bound the single cj/custom-keymap under C-c ; alongside C-;, so the same leaf keys reach the identical map in both GUI and TTY with no relearning and no per-module edits. C-c is the standard user prefix and always TTY-encodable. I audited every leaf key in the family and they're all TTY-safe (letters, digits, punctuation, SPC, and arrow keys), so nothing needed remapping.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/keybindings.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/keybindings.el b/modules/keybindings.el index db4800876..b61c3f2b3 100644 --- a/modules/keybindings.el +++ b/modules/keybindings.el @@ -35,6 +35,10 @@ (defvar-keymap cj/custom-keymap :doc "User custom prefix keymap base for nested keymaps.") (keymap-global-set "C-;" cj/custom-keymap) +;; C-; is GUI-only; terminals can't encode Control-semicolon. Mirror the same +;; keymap under C-c ; (the standard user prefix, always TTY-encodable) so the +;; whole command family works in a terminal frame with no leaf-key relearning. +(keymap-global-set "C-c ;" cj/custom-keymap) ;; ------------------------ Custom Keymap Registration ------------------------- |
