Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previous Window (netrw-P) often opens "empty" buffers #77

Open
saccarosium opened this issue Jan 18, 2025 · 0 comments
Open

Previous Window (netrw-P) often opens "empty" buffers #77

saccarosium opened this issue Jan 18, 2025 · 0 comments
Labels
bug issues reporting wrong behavior vim vim specific issues

Comments

@saccarosium
Copy link
Owner

Problem

Often (but not always!) shows an empty buffer when I open a file from netrw using "P" (netrw-P) to open it in a previous window. With empty buffer I mean that the file is shown with no content in the previous buffer although the file does contain text.

Steps to reproduce

nvim --clean
:Explore

  • open some file with "v"> to create the "previous buffer"
  • go back to netrw browse the directory tree and try to open some files using the "P" shortcut

It seems to be more reproducible if you try to open files that reside in different directories.

Expected behavior

the files should always open in the window created by the first "v" command.

Neovim version (nvim -v)

0.7.2

Vim (not Nvim) behaves the same?

yes, 9.0

Operating system/version

Linux

Terminal name/version

gnome-terminal

$TERM environment variable

xterm-256color

Installation

Debian

original issue: neovim/neovim#23597

@saccarosium saccarosium added bug issues reporting wrong behavior vim vim specific issues labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior vim vim specific issues
Projects
None yet
Development

No branches or pull requests

1 participant