Skip to content

'<c-w>T' causes incorrect buffer list #25

@swerling

Description

@swerling

The buffer list gets out of sync if you move a buffer to a new tab using <c-w>T.

To recreate:

  1. Split a tab and load a file into each split, so that buffers contain 2 different files.
  • Eg open file a, :e a.txt -> split, <c-w>v -> open file b, :e b.txt
  1. Move one of the files to a new tab with <c-w>T
  2. Go back to the original tab
  3. :buffers

When you do the 3 steps above, you'll see that both files are still in scope on the first tab. The first file should have been moved to the second tab. Furthermore, trying to delete the buffer from the old tab using bDel removes it both from the original tab but also from the new one.

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