When I run the tabs command the file mix.exs in the same tab as NERDTree, (i.e. tab 2), but I can't access it, as it seems to be in the background or hidden in some way. How can I bring mix.exs to the front or even move it to its own tab?

Tab page 1                               
Tab page 2                               
>   NERD_tree_2                          
Tab page 3                               
Press ENTER or type command to continue  
  • 1
    Can you add a screenshot? It look like the file is open in a window in the current tab, so it should be visible.
    – muru
    Commented Apr 4, 2017 at 11:59
  • @muru Yes I used gt2 and Ctrl-ww to access it. I am new to vim and grok that an active tab is like a "window"
    – vfclists
    Commented Apr 4, 2017 at 12:13
  • You might want to read vi.stackexchange.com/a/9017/205
    – muru
    Commented Apr 4, 2017 at 12:14

1 Answer 1


You may want to read vim tab madness

I used to use tabs too, but now I only use buffers, for me this is easier.

In the screen above, you can directly enter commands. If you use for example: :tabfind followed by the filename, it will be opened in a new ... ah ... erm ... tab!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.