On Sat, Mar 19, 2011 at 11:05:22PM -0700, howard Schwartz wrote:
You wrote:
Because I want all of the vim instances save or simply quit without save.
How about vim supporting signals, eg. have SIGQUIT invoke a nice :qa! shutdown?
I'm not sure if SIGQUIT would be appropriate.
--
.
--
You
ZyX zyx@gmail.com wrote:
When I want to edit a file I just type `vim file'. What I am supposed to do
if I
want to keep one vim session? Don't suggest me switching to other terminal
window and typing anything there.
I thought this would be obvious: If you work in unix/linux with
Reply to message «How to close all files opened by different vim instances»,
sent 23:16:30 22 March 2011, Tuesday
by howard Schwartz:
I thought this would be obvious: If you work in unix/linux with x-windows,
then alias gvim thus:
alias gvim gvim --remote-tab-silent
Now `vim filename
John wrote:
That's not necessary; the vim instances invent a unique name for
themselves.
I think it is necessary since, in general, he wants to use one instance of vim
to ``manage' other instances, most of which run in the background. Thus, he
might want to write and quite instance2, but
You wrote:
Because I want all of the vim instances save or simply quit without save.
I take it the client-server feature will not let you do this, because you can
only send commands to a single instance of vim (the server). And you want
multiple instances running simultaneously, right?
On Mar 20, 7:05 pm, howard Schwartz howard...@gmail.com 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
different windows/terminals.
Thanks.
BR
Wang, Mengjia
2011/3/17 ZyX zyx@gmail.com
Reply to message «How to close all files opened by different vim
instances.»,
sent 11:08:22 17 March 2011, Thursday
by Forest Wang:
...
vim c
...
Than I realized I need to close all of them. So I
All,
Say, in a terminal, I opened many files by invoking vim or gvim program many
times, like:
vim a
vim b
vim c
...
Than I realized I need to close all of them. So I had to close them one by
one:
%1 and :qa!
%2 and :qa!
...
Is there a better way to close all files by issuing one command or
On Thu, Mar 17, 2011 at 11:08, Forest Wang wangme...@gmail.com wrote:
All,
Say, in a terminal, I opened many files by invoking vim or gvim program many
times, like:
vim a
vim b
vim c
...
Than I realized I need to close all of them. So I had to close them one by
one:
%1 and :qa!
%2
On Thu, March 17, 2011 12:14 pm, Ivan Krasilnikov wrote:
On Thu, Mar 17, 2011 at 11:08, Forest Wang wangme...@gmail.com wrote:
All,
Say, in a terminal, I opened many files by invoking vim or gvim program
many
times, like:
vim a
vim b
vim c
...
Than I realized I need to close all of
Reply to message «How to close all files opened by different vim instances.»,
sent 11:08:22 17 March 2011, Thursday
by Forest Wang:
...
vim c
...
Than I realized I need to close all of them. So I had to close them one by
one:
%1 and :qa!
%2 and :qa!
...
Is there a better way
11 matches
Mail list logo