3 ms·
The only problem is that when you use multiple instances of vim and let your TWM handle the tiling, you lose the sharing of registers and command/search history
by keporahg 14y ago
The only problem is that when you use multiple instances of vim and let your TWM handle the tiling, you lose the sharing of registers and command/search history amongst the open buffers. I believe you can solve this by creating a vim server, but I've never tried it.
I try to keep a balance between the amount of tiling that vim and my TWM do by clumping similar parts of a project into one instance of vim. Even then I'll have the different instances of vim reside in their own WM tags. I use window splits in vim extensively and only use tabs when I'm working on small monitors (netbook) - even then I'll have at least two windows per tab.
- javert 14y agoI may have to look into this "vim server" business :D
- johncoltrane 14y agoStart GVim, it acts as a server named GVIM $ gvim filename Open another file in the same GVim instance $ gvim --servername GVIM --remote otherfilename
- duaneb 14y agocan you ctrl-w-w to focus between X11 windows?
- johncoltrane 14y agoWith this setup you have only one GVim instance that works as usual. Switching between this single GVim X11 window and other X11 windows from other programs is your WM's business, not Vim's.
- duaneb 14y agoAh, well, I can dream.