I'd like vim to set the current working directory to that of the file
I am editing when that file is opened. (This is convenient if I open
the file by double clicking, say.)

Should be easy enough to do with an autocommand. But I haven't been
able to find out how I can determine what the directory of the current
buffer is. Does anyone know this offhand? Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to