Steven Mueller wrote:
Hi Chip,
I've been enjoying flying around a large source tree using netrw, but
have discovered that when opening read-only files from the local
browse mechanism, setlocal noro is done on the new buffer anyway.
The offending line is near the end of the NetrwBrowseChgDir function
in netrw.vim. A minimal patch against netrw version 132 (as included
with Vim 7.2) that fixes the issue for me is below. (Please forgive
the inlinining; I figured it was simple and small enough to just
include here directly.)
>From a quick glance, it looks like this would still patch the latest
netrw okay, if at a distant offset.
Hello, Steve,
I've made v139a with your patch. It also has a few other things,
although I haven't gotten to some of Jean Johner's issues yet. You can
find it at:
http://mysite.verizon.net/astronaut/vim/index.html#NETRW
Thank you for the patch,
Chip Campbell
--
You received this message from the "vim_dev" 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