On Kubuntu 11.04 I just installed
gvim, which magically added an "open with gvim" for a bunch of text files. Great, but I would like to add another one in order to start
gvim on the given file and change current working directory to the file location:
gvim -f %F -c "cd %d"
The command above works fine, but I have no idea how to make another "open with" to use the command. I don't want to make this the default, just an option. The file manager I'm using is
dolphin, if that matters.