in reply to Nautilus helper script to "Open in gvim"

Life saver!
I've been trying to get GVim to work with Nautilus for hours and this script worked!
I got the error:
'Use of uninitialized value in split at Open with gvim line 8.'
So I had to run the following command before it worked:
export NAUTILUS_SCRIPT_SELECTED_URIS="~/.gnome2/nautilus-scripts"
Thanks again
Steve Richards