Sunday, January 19, 2014

netrw opens file in wrong directory

I am quite happily using netrw, but I stumbled upon the following
bug (or feature?) Not sure if this is the right place to post, but
here it goes:

While using g:netrw_liststyle=3 and opening a file with netrw-P,
netrw sometimes tries to open the highlighted file from the
wrong directory.

Consider the following test case:

../
netrwtest/
| dirA/
| | fileA
| fileB

and try the following:

Go to fileA and hit v. As expected, dirA/fileA opens in a new
window at the left.

Now, do C-w lj to highlight fileB and hit P. Notice that netrw
has now opened a new file, dirA/fileB [RO], instead of the
existing fileB.

Ubuntu 13.10
vim 7.4
netrw v150t

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment