aboutsummaryrefslogtreecommitdiff
path: root/modules/eat-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-11-20 16:20:30 -0600
committerCraig Jennings <c@cjennings.net>2026-11-20 16:20:30 -0600
commit0b3542bc1518d43b45165bd66c1fda03eeff8bcb (patch)
tree4bcfb5c07ff1eac0c0023de44ab258bdfeae4219 /modules/eat-config.el
parent4df81e5e751cf50c45e1b82e694394ddcb133ada (diff)
downloaddotemacs-0b3542bc1518d43b45165bd66c1fda03eeff8bcb.tar.gz
dotemacs-0b3542bc1518d43b45165bd66c1fda03eeff8bcb.zip
feat(keys): move the terminal to C-; t and the test runner to C-; THEADmain
I'm in the terminal far more than I run tests, so it gets the easier key. - The terminal commands move from C-; x to C-; t. - The test runner moves from C-; t to C-; T. - C-; x is now unbound. - The terminal prefix gains a which-key label.
Diffstat (limited to 'modules/eat-config.el')
-rw-r--r--modules/eat-config.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/eat-config.el b/modules/eat-config.el
index f764848e..72f27bda 100644
--- a/modules/eat-config.el
+++ b/modules/eat-config.el
@@ -414,9 +414,9 @@ terminal. ai-term's agent buffers are managed separately via M-SPC."
;; ------------------- terminal copy mode + tmux history -----------------------
;; Carried over from the ghostel era for the EAT agent terminals (ai-term).
;; Agents run EAT over tmux, so copy-mode is tmux's own copy-mode -- the same UX
-;; ghostel-over-tmux had. C-<up> enters it and scrolls up in one stroke; C-; x c
-;; enters it via the menu, C-; x h grabs the whole pane history into a buffer,
-;; and C-; x d detaches the tmux client without going through its prefix.
+;; ghostel-over-tmux had. C-<up> enters it and scrolls up in one stroke; C-; t c
+;; enters it via the menu, C-; t h grabs the whole pane history into a buffer,
+;; and C-; t d detaches the tmux client without going through its prefix.
(declare-function cj/register-prefix-map "keybindings")
(declare-function eat-emacs-mode "eat")
@@ -628,13 +628,13 @@ pty; without tmux, moves point up in EAT's emacs-mode buffer."
(cj/term-copy-mode-dwim))
(forward-line -1)))))
-;; The C-; x terminal prefix (copy-mode, tmux detach, tmux history, the F12
+;; The C-; t terminal prefix (copy-mode, tmux detach, tmux history, the F12
;; toggle). C-<up>
;; enters copy-mode + scrolls in one stroke; bound in EAT's semi-char map so it
;; reaches Emacs from inside an agent terminal.
(defvar-keymap cj/term-map
:doc "Personal terminal command map.")
-(cj/register-prefix-map "x" cj/term-map)
+(cj/register-prefix-map "t" cj/term-map "terminal menu")
(keymap-set cj/term-map "c" #'cj/term-copy-mode-dwim)
(keymap-set cj/term-map "d" #'cj/term-tmux-detach)
(keymap-set cj/term-map "h" #'cj/term-tmux-history)