Commit 34253264 authored by Guilherme Semente's avatar Guilherme Semente 🌱

Persist shell buffer window properties

parent 45a24682
......@@ -164,40 +164,22 @@ You may find other key bindings inside use-package statements."
set-mark-command-repeat-pop t
window-combination-resize t)
;; (progn
;; "Side Windows"
;; (defvar semente-side-window-parameters
;; '(window-parameters . ((no-other-window . t)
;; (no-delete-other-windows . t))))
;; (setq fit-window-to-buffer-horizontally t
;; window-resize-pixelwise t)
;; (setq
;; display-buffer-alist
;; `(("\\*\\(?:help\\|\\(Ido \\)?Completions\\)\\*"
;; display-buffer-in-side-window
;; (side . bottom)
;; (slot . -1)
;; (window-height . 8)
;; (preserve-size . (nil . t))
;; ,semente-side-window-parameters)
;; ("\\*\\(?:shell\\|compilation\\|Backtrace\\)\\*"
;; display-buffer-in-side-window
;; (side . bottom)
;; (slot . 0)
;; (window-height . 12)
;; (preserve-size . (nil . t))
;; ,semente-side-window-parameters)
;; ("\\*\\(?:Buffer List\\|Proced\\)\\*"
;; display-buffer-in-side-window
;; (side . bottom)
;; (slot . 1)
;; (window-height . 8)
;; (preserve-size . (nil . t))
;; ,semente-side-window-parameters))))
(setq search-default-mode #'char-fold-to-regexp)
;; Special windows
;; https://www.gnu.org/software/emacs/manual/html_node/elisp/Frame-Layouts-with-Side-Windows.html
(progn
(setq display-buffer-alist
`(("\\*\\(?:shell\\)\\*"
display-buffer-in-side-window
(side . bottom)
(slot . 0)
(window-height . 12)
(preserve-size . (nil . t))
(window-parameters . ((no-delete-other-windows . t)
(no-other-window . t))))))
(setq fit-window-to-buffer-horizontally t
window-resize-pixelwise t))
(setq kill-whole-line t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment