Re: how to open an already opened file into an new tab?

2007-05-10 Thread lin q
Great, this works. Another question, :tabe % can open the same file, is there an easy way to open another file which locates in the same or very similar directory of the current file? For example, I am viewing f2 now, and I want to open f3 which is of same directory of f2 and to open f4

Re: how to open an already opened file into an new tab?

2007-05-10 Thread Micah Cowan
lin q wrote: Great, this works. Another question, :tabe % can open the same file, is there an easy way to open another file which locates in the same or very similar directory of the current file? For example, I am viewing f2 now, and I want to open f3 which is of same directory of f2

Re: how to open an already opened file into an new tab?

2007-05-10 Thread Franco Saliola
On 5/10/07, lin q [EMAIL PROTECTED] wrote: Great, this works. Another question, :tabe % can open the same file, is there an easy way to open another file which locates in the same or very similar directory of the current file? For example, I am viewing f2 now, and I want to open f3 which is of

Re: how to open an already opened file into an new tab?

2007-05-08 Thread Taylor Venable
On Tue, 08 May 2007 15:45:40 -0600 lin q [EMAIL PROTECTED] wrote: This causes that on the tabline, the full path of f2 shows after some abbreviation. Now I want to open f2 into another tab, but I do not find an easy way to do that. If use :tabe, I need to type in the full path of f2,

Re: how to open an already opened file into an new tab?

2007-05-08 Thread A.J.Mechelynck
lin q wrote: Hi, Let us say VIM already have f1 and f2 opened in 2 tabs, when I opened f2 I use this command: vim --servername GVIM1 --remote-tab f2 This causes that on the tabline, the full path of f2 shows after some abbreviation. Now I want to open f2 into another tab, but I do not