On 29 June 2010 20:45, yoavg wrote:
>
> Is there a way to apply the same behavior also to a new tab? I would
> like it to start with a new buffer in the current directory.
> The best I came up with is :tabe %:p:e
> but this does not do what I want, as it edits the directory.  I guess
> doing a cd after opening the tab would work, but don't know how to do
> that, and how to specify the directory of the previous tab..

I'm not sure what you're asking for now: if I open a new window, ":cd
~/somewhere", open a new tab (cmd-t) then the pwd will not change (it
is still "~/somewhere").  Are you telling me this does not happen for
you?

Björn

-- 
You received this message from the "vim_mac" 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