[vim/vim] netrw hangs when navigating up a directory in tree mode on Windows (Issue #19264)

0 views
Skip to first unread message

Taylor Buchanan

unread,
Jan 27, 2026, 1:06:19 PM (18 hours ago) Jan 27
to vim/vim, Subscribed
gtbuchanan created an issue (vim/vim#19264)

Steps to reproduce

  1. Open Vim with vim --clean
  2. Load netrw with :source $VIMRUNTIME/plugin/netrwPlugin.vim
  3. Enable :let g:netrw_liststyle = 3
  4. Open netrw with :Ex
  5. Navigate up a directory with - (hangs here)

This behavior only seems to occur when using set g:netrw_liststyle = 3 to enable tree mode. Opening netrw and cycling to tree mode with i allows - to operate correctly. It's also worth noting that using set g:netrw_liststyle = 3 results in a different rendering of tree mode where the folders do not expand/collapse. The absolute path is also shown instead of the CWD directory name only. Clicking "Enter" on a folder traverses into the folder instead of expanding/collapsing. This may be a contributing factor to the bug.

let g:netrw_liststyle = 3

image.png (view on web)

Cycle with i

image.png (view on web)

Expected behaviour

I expected the root of the tree to shift up one directory. As an aside, I also expected tree mode to operate the same regardless of the method used to enable it.

Version of Vim

9.1 (1-2098)

Environment

OS: Windows 11 Enterprise 25H2
Terminal: WezTerm Nightly 20260108-234710-6e02c91e
$TERM: xterm-256color
Shell: PowerShell 7.5.4

Logs and stack traces


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19264@github.com>

Reply all
Reply to author
Forward
0 new messages