-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Open
Labels
Description
Steps to reproduce
- cd to a folder with files in question:
~/workspace/playground/vim-netrw-path-issue
:Explore
- select a file and open:
config.vimrc
(attached below) - the opened buffer has full path in the name:
~/workspace/playground/vim-netrw-path-issue/config.vimrc
- repeat 2 and 3 (reopen the same file through netrw)
- the opened buffer has a proper name respecting the cwd:
config.vimrc
screenrec-2025-10-07--14.08.mp4
Expected behaviour
netrw should respect cwd on first opening.
Version of Vim
9.1.1765
Environment
Arch linux
Logs and stack traces
" minimal config
" vim -u config.vimrc
set nocompatible
packadd netrw
let g:netrw_banner = 0