So I'm in vim currently looking at a file that has another filename
and I want to be able to open that particular file in a new, I guess
'buffer'. I tried ctrl+w then gf, but that opens it up into something
that looks like a tab. The only way I could figure out how to navigate
to it is by clicking
On Wed, May 18, 2011 at 4:18 PM, Ven Tadipatri wrote:
> So I'm in vim currently looking at a file that has another filename
> and I want to be able to open that particular file in a new, I guess
> 'buffer'. I tried ctrl+w then gf, but that opens it up into something
> that looks like a tab. The o
Ah, ok, so they are 'tabs'. But why should ctrl+w, gf open a new tab
as opposed to a new window? And I can see that gt navigates through
tabs, but is there a way I can navigate forward 3 tabs, like :b3 for
buffers? I could yank the filename into a register, then do :sp and
paste it from the registe
On Wed, May 18, 2011 at 4:28 PM, Ven Tadipatri wrote:
> Ah, ok, so they are 'tabs'. But why should ctrl+w, gf open a new tab
> as opposed to a new window? And I can see that gt navigates through
> tabs, but is there a way I can navigate forward 3 tabs, like :b3 for
> buffers? I could yank the fil
On 2011-05-18, Ven Tadipatri wrote:
> So I'm in vim currently looking at a file that has another filename
> and I want to be able to open that particular file in a new, I guess
> 'buffer'. I tried ctrl+w then gf, but that opens it up into something
> that looks like a tab.
Correct. See
:help
On 05/18/2011 11:28 PM, Ven Tadipatri wrote:
Ah, ok, so they are 'tabs'. But why should ctrl+w, gf open a new tab
as opposed to a new window? And I can see that gt navigates through
tabs, but is there a way I can navigate forward 3 tabs, like :b3 for
buffers?
The gt command accepts a count to g
On May 18, 4:18 pm, Ven Tadipatri wrote:
> Could someone help clarify things? All I want to do is be able to
> highlight the name of a file, and open it up in the
> buffer/window/viewport/tab/whatever that I get when I do :new, so I
> can navigate to it using ctrl+w.
>
You've got some answer