Gerald Lai wrote:
For Netrw v98, this hack seems to make it work as requested:
Doesn't work for me :(
I installed the Decho plugin, and noticed that the 'cd' command inside
netrw works, but looks like something else is resetting the directory
back to the original value!
Is there some way I can
K.S.Sreeram wrote:
Gerald Lai wrote:
For Netrw v98, this hack seems to make it work as requested:
Doesn't work for me :(
I installed the Decho plugin, and noticed that the 'cd' command inside
netrw works, but looks like something else is resetting the directory
back to the original value!
Hi All
I'm using the CD.vim script from:
http://vim.sourceforge.net/scripts/script.php?script_id=65
to synchronize the current working directory with the current buffer.
au BufEnter * execute :lcd . expand(%:p:h)
On Vim7, when I browse directories (e.g :e c:\Projects)... the current
Chris Sutcliffe wrote:
if exists('+autochdir')
set autochdir
else
autocmd BufEnter * silent! lcd %:p:h:gs/ /\\ /
endif
In my _vimrc and it's worked beautifully in both vim 6 and vim 7.
I just tried 'autochdir', and when i'm browsing a directory, it seems to
set the current working
Quoting K.S.Sreeram [EMAIL PROTECTED]:
Chris Sutcliffe wrote:
if exists('+autochdir')
set autochdir
else
autocmd BufEnter * silent! lcd %:p:h:gs/ /\\ /
endif
In my _vimrc and it's worked beautifully in both vim 6 and vim 7.
I just tried 'autochdir', and when i'm browsing a
[EMAIL PROTECTED] wrote:
:he netrw-problems
In particular, look at P6.
Thanks for the pointer, but unfortunately doing
let g:netrw_keepdir = 0
in _vimrc file does not seem to have any effect at all!
Here's what happens:
1) run gvim.exe
2) :pwd (output: c:\Vim\vim70)
3) :e c:\Projects\Test\
On Sat, 17 Jun 2006, K.S.Sreeram wrote:
[EMAIL PROTECTED] wrote:
:he netrw-problems
In particular, look at P6.
Thanks for the pointer, but unfortunately doing
let g:netrw_keepdir = 0
in _vimrc file does not seem to have any effect at all!
Here's what happens:
1) run gvim.exe
2) :pwd