Add edwina, for more fun window placement

This commit is contained in:
MitchMarq42 2023-03-11 10:36:29 -09:00
parent 99cbde07d1
commit d530bb680e

View File

@ -192,6 +192,25 @@
:states 'visual :states 'visual
"`" 'altcaps-region)) "`" 'altcaps-region))
;; edwina window manager, like the kool kids
(use-package edwina
:after evil
:config (edwina-mode)
(advice-add 'balance-windows
:override 'edwina-arrange)
:general
(general-define-key
;; :keymaps 'evil-window-map
[remap split-window-right] 'edwina-clone-window
[remap evil-window-move-far-left] 'edwina-zoom
[remap evil-window-move-far-right] 'edwina-zoom
[remap evil-window-increase-height] 'edwina-inc-nmaster
[remap evil-window-decrease-height] 'edwina-dec-nmaster
;; [remap balance-windows] 'edwina-arrange
)
;; :hook (window-state-change . edwina-arrange)
)
;; eshell. Pretty good actually. ;; eshell. Pretty good actually.
(use-package eshell (use-package eshell
:elpaca nil :elpaca nil