doomemacs/modules/emacs/term/config.el
Henrik Lissner 3027ed2f7f
Add new doom|mark-buffer-as-real hook to term/eshell
This is simpler (and perhaps faster) than doom-real-buffer-functions.
Better to reserve that for more complex logic.
2018-06-04 21:17:49 +02:00

13 lines
308 B
EmacsLisp

;;; emacs/term/config.el -*- lexical-binding: t; -*-
;; `multi-term'
(setq multi-term-dedicated-window-height 20
multi-term-switch-after-close 'PREVIOUS)
;; `term' (built-in)
(after! term
(set! :env "SHELL")
;; Consider term buffers real
(add-hook 'term-mode-hook #'doom|mark-buffer-as-real))