Hacker News new | ask | show | jobs
by johncoltrane 5130 days ago
Start GVim, it acts as a server named GVIM

    $ gvim filename
Open another file in the same GVim instance

    $ gvim --servername GVIM --remote otherfilename
1 comments

can you ctrl-w-w to focus between X11 windows?
With 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.
Ah, well, I can dream.