On 2/15/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote:

I'm using "It's All Text!" now.  Just had to create a shell script to
start gvim, because it doesn't allow you to give arguments to the
command.  I'm using this (on Unix, obviously):

        #!/bin/sh
        gvim -f "$@"

I can't seem to get it to work; gvim comes up all right, but as
if it was started without any file arguments.  Adding an echo to
the shell script shows that in fact, it isn't being passed any
arguments.  Is there something special I have to do in the
preferences of "It's All Text!" to tell it how to pass a
filename.

Store this in a file, make it executable, and set it from
Tools/Add-ons/It's All Text/Preferences

The plugin can be found here:
        https://addons.mozilla.org/firefox/4125/

Warning: If you set the preferences to use Vim firefox gets stuck.

Not if you've started it from an xterm; vim comes up in the
xterm.  (But Firefox does hang until you exit vim.)

--
James Kanze (GABI Software)            mailto:[EMAIL PROTECTED]
Conseils en informatique orientée objet/
                  Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Reply via email to