mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -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>