Sullivan
Sullivan

Reputation: 471

vim: switch to unlisted buffer dir

In netrw version 134 I could use the following work pattern:

open dir x
select file a
:b#     back to dir x
select file b
:b#     back to dir x
select file c
... etc ...

But in netw version 149 this doesn't work.

The b# refuses to redisplay the directory buffer, which is unlisted.

How can I convince b# to display the unlisted directory buffer?

Thanks!

Steve

Upvotes: 0

Views: 187

Answers (2)

user21497
user21497

Reputation: 1181

Try netrw v153q: http://www.drchip.org/astronaut/vim/index.html#NETRW

I was unable to duplicate this problem with the latest version of netrw.

Upvotes: 0

romainl
romainl

Reputation: 196856

You got used to a what looks a lot like a bug (there are many in netrw) or at least an oversight.

The correct way to go back to the netrw window is:

:Rex

Upvotes: 2

Related Questions