doomemacs/modules/emacs/term/config.el
Henrik Lissner 35e5a47e9f
Rewrote indentation detection
More robust and easier to customize.
2018-07-29 19:31:32 +02:00

13 lines
351 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")
(add-hook 'term-mode-hook #'doom|mark-buffer-as-real)
(add-to-list 'doom-detect-indentation-excluded-modes 'term-mode nil #'eq))