blob: 2447a4799f5e122c9f111bf00afabc0ca8b8a843 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
;;; term/eat/config.el -*- lexical-binding: t; -*-
(use-package! eat
:config
(add-hook 'eat-mode-hook (lambda ()
(add-to-list 'mode-line-process '(:eval (when-let* ((eat-terminal)
(title (eat-term-title eat-terminal))
((not (string-empty-p title))))
(format "(%s)" (string-replace "%" "%%%%" title)))))))
(when (modulep! :editor evil)
(evil-set-initial-state 'eat-mode 'emacs)))
|