Skip to content

When loading session dwm changes buffers in windows past the third window #73

@disasterism

Description

@disasterism

If you load a previous session saved with a layout from the dwm plugin that looks like this


=====================================
|              |        B           | 
|              |====================|
|      A       |        C           | 
|              |====================|
|              |        D           | 
=====================================

Each window, past the third will be a copy of the third window, and the buffers will be rotated so that whatever buffer was last is now master, the second to last is now second and Master is now in the third slot Like below

=====================================
|              |        C           | 
|              |====================|
|      D       |        A           | 
|              |====================|
|              |        A           | 
=====================================

The buffer B will still be in the bufferlist but it will no longer be open in a window.

This is something that happens on the loading of the session. If the session is loaded without plugins you can see that it will load correctly. I also tested this with no other plugins besides vim-plug and dwm active and the problem persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions