Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like different tabs to be visible at once, managed as separate windows (window manager windows, not Vim windows).

This is impossible, right? Just checking.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Yes. GVim is a single window app.

You can run multiple GVim instances but that would be multiple sessions. It may be enough if the only thing you "share" between tabs is the default register (which can be made to sync with the system clipboard via set clipboard+=unnamed) but it won't work if you use more registers, record macros, tweak your settings on the fly, etc.

I can see the appeal if you are doing unrelated things and don't want to mess with your current project or something, but what would be the benefit of having multiple WM windows for a single session?

share|improve this answer
1  
If you do ":help todo" and search for "top-level" you'll see there's an item to allow multiple gVim instances to communicate and share data. Presumably it's just waiting for some coder to decide to tackle the problem and contribute the necessary patch. –  Heptite Feb 10 '12 at 7:50
    
@romainl The benefit of having multiple WM windows for a single session is that I want to see two files side by side on a workspace that is split into two windows. The alternative is to move vim to a single-window workspace and :vsplit, and subsequently move it back to the 2-pane workspace and :only --- a lot more hassle. –  Jean Jordaan Feb 12 '12 at 7:10
    
I don't really get what you mean. I do HTML/CSS all day long with two vertical windows without any hassle: the .html is opened first and the .css is opened second in a vertical split. After that, there is nothing left to do than edit away. Also, what is the point of using :only if your goal is to edit multiple files? –  romainl Feb 12 '12 at 8:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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