On Wed, May 18, 2011 at 4:18 PM, Ven Tadipatri <[email protected]> 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 only way I could figure out how to navigate > to it is by clicking on the tab at the top of the screen. First of > all, I'm quite confused between tabs, windows, buffers, and viewports. > Normally when I have a file open, I can do :new or :sp and look at > another file and jump to it using ctrl+w, but the behavior for ctrl+w, > then gf seems to be different. Furthermore I can't seem to get to the > other 'tabs' using ctrl+w or :next or :bn. Is there some other command > for navigating these tabs or whatever they're called? > 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. > One simple way to open in a horizontal split would be :sp file_path_here > > Thanks, > Ven > > -- > 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 > -- 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
