Re: How to close all files opened by different vim instances

2011-04-01 Thread Paul
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

How to close all files opened by different vim instances

2011-03-22 Thread howard Schwartz
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

Re: How to close all files opened by different vim instances

2011-03-22 Thread ZyX
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

How to close all files opened by different vim instances

2011-03-21 Thread howard Schwartz
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

How to close all files opened by different vim instances

2011-03-20 Thread howard Schwartz
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?

Re: How to close all files opened by different vim instances

2011-03-20 Thread John Little
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

Re: How to close all files opened by different vim instances.

2011-03-18 Thread Forest Wang
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

How to close all files opened by different vim instances.

2011-03-17 Thread Forest Wang
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

Re: How to close all files opened by different vim instances.

2011-03-17 Thread Ivan Krasilnikov
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

Re: How to close all files opened by different vim instances.

2011-03-17 Thread Christian Brabandt
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

Re: How to close all files opened by different vim instances.

2011-03-17 Thread ZyX
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