Skip to content

After switching to different worktree, newly opened buffer gets deleted. #39

@adiSuper94

Description

@adiSuper94

I use bnext/nprev to move between buffers.

  1. I open nvim and open a file.
  2. I switch worktrees using this plugin, the hook in the readme opens and the same file that I had open in the previous worktree.
  3. I use bprev, and end up in the file from the previous worktree(this is fine).
  4. But bnext doesn't take me to the file in the newly switched worktree, that buffer gets deleted as soon as i do the bprev

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