💥 Move dired, electric-indent, eshell, imenu, term modules to :emacs
This commit is contained in:
parent
0c0276378f
commit
e2d055a40b
12 changed files with 21 additions and 19 deletions
14
modules/emacs/term/config.el
Normal file
14
modules/emacs/term/config.el
Normal 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))
|
Loading…
Add table
Add a link
Reference in a new issue