PS: I'm using mc version 4.8.18 on AntiX17 which is based on Debian Stretch and
mc comes preinstalled and preconfigured, but I did add the mc-wrapper.sh mode.
I am running it from an mrxvt-mini terminal, but I don't think that is causing
my troubles.
On Sunday, March 18, 2018, 11:16:30 AM CDT, Bob Currey via mc
<[email protected]> wrote:
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
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc