Re: how to run multiple Vims from Finder
- Thank you for replies. However, I was not clear enough in my original
>The simplest and easiest way is to create a shell script with the .shis
>extension that calls vim as you would on the commandline. Make sure it
>executable, and you should be able to double-click it.This works. Well, by default the extension should be .command. In order
to make .sh working, one has to configure Finder in Open With.
The question is how to open Vim as a separate process by
double-clicking a document in Finder? You cannot place file.command to
the program part of the Dock. Finder considers it as a document for
Terminal and not as a program.
I was able to achieve it in Midnight Commander by configuring EDITOR
variable, but in addition it would be good to have it also in Finder.
Apple's Terminal does not support mouse. One can run Midnight Commander
in xterm but this is already too messy.
Institut fuer Mikrosystemtechnik IMTEK
Georges-Koehler-Allee, Geb. 103
Tel. (+49 761) 203 7383
Fax (+49 761) 203 7382
- On Sunday, May 18, 2003, Evgenii Rudnyi wrote:
>> The simplest and easiest way is to create a shell script with the .shThis can be done with DropScript
>> extension that calls vim as you would on the commandline. Make sure
>> it is executable, and you should be able to double-click it.
> The question is how to open Vim as a separate process by
> a document in Finder?
and the aforementioned shell script, though it would be nicer, of
if similar functionality could be incorporated into Vim.app itself.
I can post or email a DropGVim.app (~25K) if you'd rather not tackle