mmm I think the option for this is 'set autochdir' (?)

On Tue, Dec 30, 2008 at 12:58 AM, bgold12 <[email protected]> wrote:

>
> Hey, is there a quick way to set the current working directory to the
> directory that contains the file open in a vim buffer (assuming an
> actual file is open in that buffer)? I've always just cd'd my way into
> that directory either from where I am or from the root, but it would
> save typing if there's a way to do it automatically. Thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to