On Mar 20, 7:05 pm, howard Schwartz <[email protected]> wrote:
>You can still do this with vim's client-server, by launching each instance of
> vim, as a server with a different name (e.g., --servername "some-unique-name"
> .
That's not necessary; the vim instances invent a unique name for
themselves. Perhaps the OP's requirement would be met by something
like the following bash script:
for vim_instance in $(vim --serverlist); do
vim --servername $vim_instance --remote-send ":xall<cr>"
done
> BUT - why must you do all this with multiple instances? Why not run only one
> instance of vim, with files in different windows, buffers, or tabs?
Well, multiple instances give more flexibility with window placement,
and make use of one's window manager and one's skills with it.
There's already multiple windows with browser, xterms, file managers,
and so on; they can't go in a vim buffer, and vim has a limited
repertoire of window stuff, f.ex. it doesn't do a rotating cube.
Regards, John
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php