Thank you both for you help.
Federico Bruni-2 wrote
How did you install lilypond? From Arch repository? Or from
lilypond.org installer (the .sh file)?
Yes I did install Lilypond directly through arch repository via
pacman. cat
`which lilypond-invoke-editor` returns
#!/usr/bin/guile1.8 -s
!#
;;;; lilypond-invoke-editor.scm -- Invoke an editor in
file:line:column mode
Should I uninstall it and make the install differently in order to be
able
to call a vim file after clicking on a textedit link?
Federico Bruni-2 wrote
Please paste the output of these two commands (if you don't have
/etc/hostname, replace it with another text file you can read):
$ echo $LYEDITOR
vim '+call cursor(%(line)s, %(column)s)' %(file)s
$ xdg-open textedit:///etc/hostname:1:1:2
It is working, writing my hostname in vim.
For a test purpose I tried uninstalling the script
lilypond-invoke-editor.desktop from the manual and then I get the
message:
/usr/bin/xdg-open: line 881: x-www-browser : command not found
So my conclusion is that archlinux users would have to follow the
Gnome 3
instructions from the documentation.