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

Third level of directories turn into files on Alt-Tab in Netrw tree view #73

Open
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

In the tree view of Netrw, the directories at the third level of nesting are oftentimes turning into files after switching windows with Alt+Tab. (They aren't being rewritten with files, just look and behave like files.)

../
.config/                       <- First level, the current directory
| anthy/                       <- Second level, the directory inside of the current directory
| | imported_words_default.d/  <- Third level, the directory inside of directory of the current directory,
| | last-record2_default.utf8                                                     gets turned into a file
| | lock-file_default

This is what you get after Alt+Tab:

../
.config/                       <- First level, the current directory
| anthy/                       <- Second level, the directory inside of the current directory
| | imported_words_default.d  <- Third level, the directory inside of directory of the current directory,
| | last-record2_default.utf8                                      but looks like a file and doesn't open
| | lock-file_default

Steps to reproduce

  1. Open Netrw
  2. Open the tree view (press i multiple times)
  3. Open up directories (Enter) to get to the third level of nesting
  4. Alt+Tab, maybe a bunch of times, maybe quickly
  5. See how the folder turned into a file

Expected behavior

Let the directories be themselves

Neovim version (nvim -v)

NVIM v0.9.2

Vim (not Nvim) behaves the same?

yes, 2:9.0.1927-1.fc38 (not on DEFAULTS — there's no Netrw that way, but on the clean install)

Operating system/version

Fedora 38

Terminal name/version

Gnome Console

$TERM environment variable

xterm-256color

Installation

DNF

original issue: neovim/neovim#25423

@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