On Apr 29, 5:09 am, Marcin Szamotulski wrote: > If the above will not solve your problem you can record your local > directory in vimrc: > > let g:pwd = getcwd() > > and in a '.vim/after/plugin/myscript.vim' use: > > set noautochdir > exe 'cd '.fnameescape(g:pwd) > > If this was due to lcd used somewhere it should solve it. I assume > that it only happens on startup, if not you might need to use > autocommands. Maybe it only happens with some file type?
Unfortunately, it doesn't just happen at startup. I haven't been able to determine the triggering event. I'm still unclear about how the after directory works. When do which files get invoked? I was confused by the help for "after". -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" 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/groups/opt_out.
