Skip to content

CtrpPBuffer does not properly select Terminal buffers #231

@vitvly

Description

@vitvly

Hi,

thanks for a wonderful plugin. I've been using it for so long.

Today i've noticed a weird issue. Seems like some sort of terminal buffer flag gets lost or something.

I'm running nvim 0.1.3, neovim-remote 1.1.3.

Steps to reproduce:

  1. Run :term.
  2. Open some file with nvr <file>. This opens a buffer with the file in the same nvim instance.
  3. Execute :CtrlPBuffer and try to navigate back to the terminal buffer.
  4. Result: It shows this in messages: "~/file/path/term://.//3196:/bin/zsh" [New DIRECTORY]. Buffer content is empty. Terminal buffer entry looks like this:
>  -1 -    [No Name]                      ~/file/path

As if terminal buffer is just a file. Navigating through Vim's built-in :buffer works fine though.

UPDATE: this has nothing to do with neovim-remote, even simple switching between buffers gives this behaviour.

Thanks again,
Vitaliy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions