On Windows - other tabs close when netrw explore navigates to a directory

16 views
Skip to first unread message

Brian K

unread,
Feb 27, 2020, 5:44:20 PM2/27/20
to vim_dev
Hi,

I have noticed this bug[1] occurring on Windows 7 since version 8.0.  It looks to me that this does not happen on linux console or gui versions.  I just observed it occurring with vim and gvim on Windows 10.

Please let me know if anyone can reproduce this.

Thanks,
Brian


[1] : 
To reproduce (On Windows):
start Vim
edit a file (README.txt)
type :tabe

-- now we have two tabs open and are on the second tab

open netrw explorer with :E
navigate to a folder

-- at this point, 
   1.  the tab for README.txt no longer appears.  
   2.  The buffer for README.txt does not appear in the list of buffers
   3.  If I navigate to the README.txt in netrw explorer and open it, that file does not show - netrw explorer shows.   
   4.  Opening with `:e README.txt`  opens the file.  Good.  This part works.  But...
   5.  netrw explorer will open the netrw explorer looking at the folder navigated to any time README.txt is selected in any window with netrw explorer in it.

Bram Moolenaar

unread,
Feb 28, 2020, 12:25:54 PM2/28/20
to vim...@googlegroups.com, Brian K

Brian K wrote:

> I have noticed this bug[1] occurring on Windows 7 since version 8.0. It
> looks to me that this does not happen on linux console or gui versions. I
> just observed it occurring with vim and gvim on Windows 10.
>
> Please let me know if anyone can reproduce this.

Please check the version of netrw that you have installed:
echo g:loaded_netrw

You can get the latest version at drchip.org/astronaut/vim/index.html


--
hundred-and-one symptoms of being an internet addict:
128. You can access the Net -- via your portable and cellular phone.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Charles Campbell

unread,
Feb 29, 2020, 5:10:15 PM2/29/20
to vim...@googlegroups.com
More information would be helpful:

    * what/which binary is exhibiting the problem?
    * What is its version (:version)?
    * If you compiled it, how did you compile it (which compile-time
options, which compiler)?
    * Is it for native Windows (usually gvim in that case), cygwin (vim
or gvim), or what?
    * Please give a (hopefully small) sequence of instructions which
exhibits the problem; start with vim -u NONE -U NONE or gvim -u NONE -U
NONE (these command line commands avoid personal settings).
    * Please include any netrw specific settings you may be using
    * If it works with the NONEs, then try to track down which settings
you have in your .vimrc and plugins along with a (small) sequence of
instructions to exhibit the issue.

It is very difficult to fix a problem without enough information to
duplicate the issue.  I'm having problems getting gvim/vim working as
I'd like in a cygwin and native-windows setup so duplicating this for me
is difficult as-is.

Thank you,
Chip Campbell

Reply all
Reply to author
Forward
0 new messages