Friday, January 22, 2010

How to set the path of a file as the current directory of gvim on linux automatically when it is opened ?

On Windows, when I double click a file and open it using gvim, the path of the file will be set as the current directory of gvim.

But when I do the same thing on linux, the current directory of gvim always is my home directory.

I searched for the question with google, but there is no resolution.

So I wonder if anyone may help.

Thanks

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

No comments: