On Tue, Dec 13, 2011 at 06:13:59PM +0100, Francisco M. Marzoa Alonso wrote:
> Hello,

> Is there any manner to do that GVIM's current directory will be the same
> of the file being edited?

> I mean that if I'm editing /var/www/myhost/web/index.php and if I try to
> open a new file, it should shows /var/www/myhost/web instead of my
> user's directory.

the most common way to do this is to set autochdir in your
.vimrc -- see

    :h 'autochdir'

sc

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to