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 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

2 Answers 2

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

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.