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

Add "Side Windows"

parent 48570dbd
......@@ -159,6 +159,31 @@ 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\\|grep\\|Completions\\)\\*"
display-buffer-in-side-window
(side . bottom)
(slot . 1)
(preserve-size . (nil . t))
,semente-side-window-parameters)
("\\*\\(?:shell\\|compilation\\)\\*"
display-buffer-in-side-window
(side . bottom)
(slot . -1)
(preserve-size . (nil . t))
,semente-side-window-parameters))))
;; prevent extraneous tabs
(setq-default indent-tabs-mode nil
tab-width 4)
......
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