aboutsummaryrefslogtreecommitdiff
path: root/modules
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
commit0290b0154addbe761d546275741d758dc7c9b6b3 (patch)
tree9bf6459f513223660baf05643d95a7bfbb483455 /modules
parent82294404a183bcbd5c4c46ee35c3eeb992e49a7a (diff)
downloaddotemacs-0290b0154addbe761d546275741d758dc7c9b6b3.tar.gz
dotemacs-0290b0154addbe761d546275741d758dc7c9b6b3.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.
Diffstat (limited to 'modules')
-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