Browse Source

Add ansi-term to display-buffer-alist

master
Riyyi 4 years ago
parent
commit
f6c7726ff4
  1. 6
      .config/emacs/config.org

6
.config/emacs/config.org

@ -917,10 +917,14 @@ Set UTF-8 encoding as default.
** Window ** Window
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;; Set `switch-to-buffer' to respect the window rules
(setq switch-to-buffer-obey-display-actions t)
;; Window rules ;; Window rules
(setq display-buffer-alist (setq display-buffer-alist
'( '(
("^\\(\\*e?shell\\|vterm\\).*" ;; ^\*(e?shell|(ansi-|v)?term).*
("^\\*\\(e?shell\\|\\(ansi-\\|v\\)?term\\).*"
(display-buffer-in-side-window) (display-buffer-in-side-window)
(window-height . 0.25) (window-height . 0.25)
(side . bottom) (side . bottom)

Loading…
Cancel
Save