Using autochdir in .vimrc together with the --remote-silent start option works fine: the first edited file's path is set correctly.
However, the manuals suggest not to use autochdir: "This option is provided for backward compatibility with the Vim released with Sun ONE Studio 4 Enterprise Edition. Note: When this option is on some plugins may not work." In order to avoid using autochdir I tried (a.o.) the following in .vimrc: set noautochdir autocmd BufEnter * lcd %:p:h which works for all but the first file. Which event[s] do I have to use to make this work? -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
