Skip to main content
1 of 3

It is possible by setting properly the netrw configuration variable g:netrw_keepdir to 0 (default is 1).
That is, add in the .vimrc file this line:

let g:netrw_keepdir=0