Samuel Ferencik wrote: > Basically, I am looking for a way (an autocmd, > perhaps) to change the path to the file being > opened - before it is opened.
I didn't follow the details about the VMS path. Was there a reason you need to change directory BEFORE the file is opened? Are you aware that there is a command that will change Vim's current directory to that of the current file? And an option that will always do that. :cd %:p:h :set autochdir :help filename-modifiers :help 'autochdir' John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
