goto %lineno with Tilde as external editor/viewer

Bob Currey bcurrey99 at yahoo.com
Sun Mar 18 16:16:17 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20180318/60b45347/attachment.html>


More information about the mc mailing list