Re: mcedit
Jörg Thümmler via mc <[email protected]> Wed, 18 Jan 2023 08:06:49 +0100
| Newsgroups | gmane.comp.gnome.apps.mc.general |
|---|---|
| Message-ID | <[email protected]> |
Am 17.01.23 um 16:45 schrieb Ben via mc: > > > On Tue, Jan 17, 2023 at 8:15 AM Grzegorz Szymaszek <[email protected] > <mailto:[email protected]>> wrote: > > Just in case you haven't already tried it: "sudo mc -F"? > > > Yes, I tried that too -- it gave (still gives, I just checked) the same > exact report as mc -F without the sudo. > > --Ben > Hi, to end this i did some testing, at least on my OpenSuse Linux it's like that: Macros are stored in .local/share/mc/mc.macros Mcedit Macros are stored in a [editor] section one line per macro like that: f12=Down:-1;InsertChar:49;... Typed chars are shown as "InsertChar:49;" (the ascii code), keys are named as "Down:-1" above, the "-1" maybe just to have a value after the ":"... If you use "sudo mcedit" or "sudo mc" and then "mcedit", the .local/share/mc/mc.macros of the Admin is used to store. To delete a macro simply delete the line (but the macro is active until you end this mc session (so if you use sudo mc and then from this mcedit, it's not forgotten until you end the mc session, not just by closing mcedit... -- cu jth -- mc mailing list [email protected] https://lists.midnight-commander.org/mailman/listinfo/mc