Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to have arbitrary arrangements of vim and other terminal panes within tmux. This is a simple example:

------------------------------------
|           |            |         |
|           |            |         |
|           |            |         |
|   VIM     |   NOT VIM  |   VIM   |
|           |            |         |
|           |            |         |
|           |            |         |
------------------------------------

I know I can do this if I use two separate Vim sessions for the left and right panes. But I would like both to keep all Vims within the same session-- i.e. all with access to the same set of open buffers. Is it possible to have such multiple non-adjacent vim windows within the same session?

share|improve this question
up vote 2 down vote accepted

The only way to achieve something like that layout is with window splits in Vim, and a (rather poorly) emulated terminal (e.g. with the Conque Shell - Run interactive commands inside a Vim buffer in the middle.

Unlike Emacs, Vim does not have a separation of server and (multiple) view clients.

share|improve this answer
    
Ah-- good to know. Yes, I've tried Conque and found there were too many minor irritations to make it worth using. – Sean Mackesey Feb 28 '13 at 1:27

One Vim = one session.

You can't share a session between two Vim instances.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .