aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 22:06:29 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 22:06:29 -0400
commit5e7eb7316add5f6ca1eeabfcb062369173844e58 (patch)
tree97e4e8a45b9e6f1c55aca74421163b41b49f2c9d
parentdc0c76b79708dc4332464dac291bd0aece6b6b95 (diff)
downloaddotemacs-5e7eb7316add5f6ca1eeabfcb062369173844e58.tar.gz
dotemacs-5e7eb7316add5f6ca1eeabfcb062369173844e58.zip
feat(eat): wire the EAT experience settings
Set EAT's shell-integration and interaction options in eat-config.el. Enable yank-to-terminal (the one useful default that ships off), and affirm directory tracking, prompt annotations, command history, mouse, kill-from-terminal, and alt-screen explicitly so the config documents intent. Bump scrollback to 10MB to match the old ghostel. Truecolor is already on via the compiled eat-truecolor terminfo. Directory tracking, annotations, and history only activate once the shell sources EAT's integration script, added to the zsh rc separately.
-rw-r--r--modules/eat-config.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/eat-config.el b/modules/eat-config.el
index 9a52dabfd..e4c290ad7 100644
--- a/modules/eat-config.el
+++ b/modules/eat-config.el
@@ -38,6 +38,20 @@
:custom
;; Close the EAT buffer when its shell exits.
(eat-kill-buffer-on-exit t)
+ ;; Shell-integration UX. These are EAT defaults, set explicitly to document
+ ;; intent and survive default changes. They only light up once the shell
+ ;; sources EAT's integration script -- see the EAT block in the zsh rc.
+ (eat-enable-directory-tracking t) ; Emacs follows the terminal's cwd
+ (eat-enable-shell-prompt-annotation t) ; the success/running/failure prompt glyphs
+ (eat-enable-shell-command-history t) ; terminal history into EAT line-mode isearch
+ ;; Interaction.
+ (eat-enable-mouse t) ; mouse clicks + selection in TUIs (default)
+ (eat-enable-kill-from-terminal t) ; terminal selection -> Emacs kill-ring (default)
+ (eat-enable-yank-to-terminal t) ; Emacs kill-ring -> the terminal (off by default)
+ ;; Fidelity.
+ (eat-enable-alternative-display t) ; alt-screen so TUIs restore scrollback on exit (default)
+ (eat-term-scrollback-size (* 10 1024 1024)) ; ~10MB of scrollback, matching the old ghostel
+ ;; Truecolor is already on: eat-term-name auto-selects the compiled eat-truecolor terminfo.
:config
;; F12 and C-; must reach Emacs from inside EAT. In semi-char mode (EAT's
;; default) EAT forwards unbound keys to the terminal -- a letter runs