💥 Move dired, electric-indent, eshell, imenu, term modules to :emacs

This commit is contained in:
Henrik Lissner 2018-05-27 12:05:15 +02:00
parent 0c0276378f
commit e2d055a40b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
12 changed files with 21 additions and 19 deletions

View file

@ -0,0 +1,14 @@
;;; 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
(defun +term-p (buf)
(eq (buffer-local-value 'major-mode buf) 'term-mode))
(add-to-list 'doom-real-buffer-functions #'+term-p #'eq))