Ben Fritz wrote:
:help netrw-incompatible:

NETRW BROWSING AND OPTION INCOMPATIBILITIES     *netrw-incompatible* {{{2

Netrw has been designed to handle user options by saving them, setting
the
options to something that's compatible with netrw's needs, and then
restoring
them.  However, the autochdir option: >
        :set acd
is problematical.  Autochdir sets the current directory to that
containing the
file you edit; this apparently also applies to directories.  In other
words,
autochdir sets the current directory to that containing the
"file" (even if
that "file" is itself a directory).

(end help entry)

I have had :set autochdir in my .vimrc for a few years now and have
not noticed any problems with netrw. Granted, I don't use netrw for
any remote editing, just for local directory browsing (and not even
that very often). Is this :help section still accurate? I thought
issues with 'acd' have been resolved? If not, what sort of issues
still exist? A basic "acd will cause problems" statement doesn't give
much information for a user making the decision whether to use the
option or not.

There is, perhaps, an unexpected behavior.

Try running vim, typing (assuming /some/directory exists and directory is itself a directory)

 :e /some/directory
 :pwd

You'll find that pwd shows /some , which is apparently unexpected to some people. I have made considerable efforts to get netrw to work with acd otherwise.

Regards,
Chip Campbell

--
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

Reply via email to