diff options
Diffstat (limited to 'modules/eat-config.el')
| -rw-r--r-- | modules/eat-config.el | 10 |
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) |
