Using Vim/Gvim with multiple GUI windows

multiple instancesmultiple-monitorsvim

Is it possible to have 2 or more (G)vim windows for the same session, or at least share some buffers. Here, "window" refers to a Gnome(or KDE, or Windows etc.) window, not a VIM window.

I use two monitors with xinerama and want to open two separate GUI windows instead of having a huge single one that spans multiple screens.

Best Answer

Currently gVim cannot have separate 'toplevel' windows for the same process/session. There is a TODO item to implement an inter-process communication system between multiple Vim instances to make it behave as though the separate processes are unified. (See :help todo and search for "top-level".)

Related Question