Tuesday, February 22, 2011

Re: How to open a new tab with relative path in vim

Hi,

coolesting wrote:
>
> As this topic, i need to open a new tab with relative path when the vim
> running,
> such as the command "tabnew ../abc.php" or "tabnew ./abc.php" , that is not
> working.

both commands work here (Windows 7, Vim 7.3.125).

> i have to open it with absolute path every time.

Are you sure Vim's current directory is correctly set to the directory
you think it is? You can check this with

:pwd

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

--
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

No comments: