aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/keybindings.el4
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 -------------------------