diff options
Diffstat (limited to 'tools/emacs/config')
-rw-r--r-- | tools/emacs/config/init.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el index 7d40813d83f0..06fe707921a4 100644 --- a/tools/emacs/config/init.el +++ b/tools/emacs/config/init.el @@ -73,6 +73,19 @@ (use-package pg) (use-package restclient) +(use-package vterm + :config (progn + (setq vterm-shell "/usr/bin/fish") + (setq vterm-exit-functions + (lambda (&rest _) (kill-buffer (current-buffer)))) + (setq vterm-set-title-functions + (lambda (title) + (rename-buffer + (generate-new-buffer-name + (format "vterm<%s>" + (s-trim-left + (s-chop-prefix "fish" title))))))))) + ;; ;; Packages providing language-specific functionality ;; |