Add popwin mode (handles temporary windows)

remove manual config for compilation windows
This commit is contained in:
Adam Goldsmith 2015-10-04 16:07:00 -04:00
parent a148ca7d28
commit c490c1920e

View File

@ -19,14 +19,6 @@
(show-paren-mode 1) (show-paren-mode 1)
(tool-bar-mode -1) (tool-bar-mode -1)
;; buffer display options
(add-to-list 'display-buffer-alist
`("^\\*compilation\\*$"
(display-buffer-reuse-window
display-buffer-in-side-window)
(side . bottom)
(window-height . 0.3)))
;; save backups and autosaves in tmp ;; save backups and autosaves in tmp
(setq backup-directory-alist `((".*" . ,temporary-file-directory)) (setq backup-directory-alist `((".*" . ,temporary-file-directory))
auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) auto-save-file-name-transforms `((".*" ,temporary-file-directory t)))
@ -100,7 +92,9 @@
(setq company-quickhelp-delay 0.5)) (setq company-quickhelp-delay 0.5))
(use-package magit :quelpa (use-package magit :quelpa
:bind ("C-x g" . magit-status)) :bind ("C-x g" . magit-status))
(use-package popwin :quelpa
:config
(popwin-mode 1))
;; optional external packages ;; optional external packages
(use-package arduino-mode (use-package arduino-mode