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 .sh
>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