mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Taking a look at the built in windmove functions shows that Emacs has a built in function for swapping windows called `window-swap-states`. Using this ensures the window state is maintained. Ref: #6023 Co-authored-by: luveti <luveti@users.noreply.github.com>