Make shell side windows more persistent

Do not delete shell side windows when deleting other windows and do not make
them selectable by default (although `ace-windows` does not seem to respect this
setting).
This commit is contained in:
Daniel - 2023-04-16 16:37:08 +02:00
parent b6bdb4f9e2
commit 9904e24333
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 6 additions and 2 deletions

View File

@ -546,13 +546,17 @@
display-buffer-in-side-window
(side . bottom)
(slot . -1)
(window-height . 0.33)))
(window-height . 0.33)
(window-parameters . ((no-other-window . t)
(no-delete-other-windows . t)))))
(add-to-list 'display-buffer-alist
'("^\\*shell\\*"
display-buffer-in-side-window
(side . bottom)
(slot . 1)
(window-height . 0.33)))))
(window-height . 0.33)
(window-parameters . ((no-other-window . t)
(no-delete-other-windows . t)))))))
(use-package winner
:commands (winner-mode winner-undo winner-redo))