goto %lineno with Tilde as external editor/viewer

Bob Currey via mc <[email protected]>
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
When I use Find file to get a list of files containing a string, if I am using the internal viewer and press F3 on a file from the list it opens the file in the viewer and positions me on the line number it found the string at, but when I use Tilde, it tries to open the line number itself as a file.  I waant to use Tilde as my viewer because I am using it as my editor, and I want the functionality between the viewer and editor to be consistent, only differing in the ability to change and save.

Tilde can view or edit the file and uses a syntax of:
tilde %filename:%lineno
Note the colon ":" between the filename and line number to go to
How can I configure Midnight Commander to run tilde passing the parameter that way?
Based on a post from 2015Re: External editor with parameters not working?

| 
| 
|  | 
Re: External editor with parameters not working?


 |

 |

 |

I added this to my ~/.config/mc/ini but it didn't help:
[External editor or viewer parameters]
tilde=%filename:%lineno
Please tell me how to make this work?
ThanksBobC

_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.