For ages I've had this autocmd defined
autocmd BufEnter * execute "chdir ".escape(expand("%:p:h"), ' ')
Recently I started using vim to edit ruby by invoking it from w/in Eclipse
using
gvim --server eclipse --remote-silent /path/to/file
And the autocmd isn't working for files loaded this way. I've tried a few
different things, but nothing is working. After the file loads I can execute
"chdir ".escape(expand("%:p:h"), ' ') and it works fine.
Thanks for the help.
--
Travis Hume
[EMAIL PROTECTED]
