diff options
Diffstat (limited to 'lisp/appearance/modeline.el')
| -rw-r--r-- | lisp/appearance/modeline.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/appearance/modeline.el b/lisp/appearance/modeline.el index c3acaf7..042142f 100644 --- a/lisp/appearance/modeline.el +++ b/lisp/appearance/modeline.el @@ -106,6 +106,12 @@ RIGHT aligned respectively." "] [%*] Ln: %l/" (number-to-string (1+ (count-lines 1 (point-max)))) " Col: %c")) + ((and (eq major-mode 'vterm-mode) (boundp 'vterm-buffer-title) vterm-buffer-title) + (concat "%b [%m: " + vterm-buffer-title + "] [%*] Ln: %l/" + (number-to-string (1+ (count-lines 1 (point-max)))) + " Col: %c")) ((and (eq major-mode 'eww-mode) (boundp 'eww-data)) (concat (plist-get eww-data :title) " [%m] [%*] Ln: %l/" |