bgold12 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)? 

As well as the autochdir option (:help 'autochdir'), there is a simple
command you can enter to do it manually:

:cd %:h

There's a little more at:
http://vim.wikia.com/wiki/Change_to_directory_of_the_opened_file

John


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

Reply via email to