Re: [bug][w32][netrw] doesn't autochange to the current working dir in netrw buffer

2011-04-12 Fir de Conversatie Charles E Campbell Jr

Yue Wu wrote:

Thanks, that's it. I think it should be on by default for convenience,
what do you think?

   
I do, too, and that option is used in my own .vimrc.   While developing 
netrw's browser capability, that's how I had it.  However, I caught 
grief about it from those wedded to 6.x's explorer's behavior.  So, at 
least there's an option for it!


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


Re: [bug][w32][netrw] doesn't autochange to the current working dir in netrw buffer

2011-04-12 Fir de Conversatie Yue Wu

On Wed, 13 Apr 2011 09:22:55 +0800, Charles E Campbell Jr wrote:


Yue Wu wrote:

How to reproduce:

:e c:/

then enter any subdirectory in netrw buffer with, then :pwd print
current working directory, vim still says c:/ it is.

gvim is got from vim offical site, OS is windows 2000.



Hello,

See if  :he netrw_keepdir  helps.  (the default behavior follows that of  
the 6.x explorer)




Thanks, that's it. I think it should be on by default for convenience,  
what do you think?



--
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China

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


Re: [bug][w32][netrw] doesn't autochange to the current working dir in netrw buffer

2011-04-12 Fir de Conversatie Charles E Campbell Jr

Yue Wu wrote:

How to reproduce:

:e c:/

then enter any subdirectory in netrw buffer with, then :pwd print
current working directory, vim still says c:/ it is.

gvim is got from vim offical site, OS is windows 2000.

   

Hello,

See if  :he netrw_keepdir  helps.  (the default behavior follows that of 
the 6.x explorer)


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


Re: [bug][w32][netrw] doesn't autochange to the current working dir in netrw buffer

2011-04-12 Fir de Conversatie Yue Wu

On Wed, 13 Apr 2011 09:37:25 +0800, sc wrote:


On Tuesday, April 12, 2011 19:55:15 Yue Wu wrote:


How to reproduce:
:e c:/



then enter any subdirectory in netrw buffer with , then
:pwd print current working directory, vim still says c:/ it
is.



gvim is got from vim offical site, OS is windows 2000.


try putting

set autochdir

in your _vimrc and see if the behavior is closer to what you
expect



It has been set to on here.


--
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China

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


Re: [bug][w32][netrw] doesn't autochange to the current working dir in netrw buffer

2011-04-12 Fir de Conversatie sc
On Tuesday, April 12, 2011 19:55:15 Yue Wu wrote:

> How to reproduce:
>   :e c:/

> then enter any subdirectory in netrw buffer with , then
> :pwd print current working directory, vim still says c:/ it
> is.

> gvim is got from vim offical site, OS is windows 2000.

try putting

set autochdir

in your _vimrc and see if the behavior is closer to what you
expect

sc

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


[bug][w32][netrw] doesn't autochange to the current working dir in netrw buffer

2011-04-12 Fir de Conversatie Yue Wu

How to reproduce:

:e c:/

then enter any subdirectory in netrw buffer with , then :pwd print  
current working directory, vim still says c:/ it is.


gvim is got from vim offical site, OS is windows 2000.


--
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China

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