rules in mc.ext

2022-09-15 Thread Fourhundred Thecat via mc
Hello, can I change the default internal viewer to something else (less)? I think I could change each line individually: View=%view{ascii} mediainfo %f to View=mediainfo %f | less but I would rather change this once, globally. Also, I am confused how the include directive works in mc.ext

shortcut for "Sort by Modify Time"

2022-06-06 Thread Fourhundred Thecat via mc
Hello, I normally use "Sort by Name" in mc panels, but frequently need to switch to "Sort by Modify Time" from the menu selection. But this is quite tedious: F9 -> Sort Order -> Modify Time Is there any shortcut for this? If not, can I define my own shortcut? perhaps Alt+m ? That does not se

mc: ignore files

2022-05-23 Thread Fourhundred Thecat via mc
Hello, is it possible to specify file name pattern, which should be hidden in mc ? ls command has following option: ls --ignore=lost+found is something similar possible in mc ? ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc

Re: make "filter" case insensitive

2022-02-24 Thread Fourhundred Thecat via mc
> On 2022-02-23 17:59, Frank Dietrich via mc wrote: Hi, the filter uses shell globbing pattern. For example *.[Pp][Dd][Ff] would filter files *.PDF, *.pdf (and all other permutations of the characters). thank you, but that is extremly laborious. If there is no configuration option to make t

make "filter" case insensitive

2022-02-23 Thread Fourhundred Thecat via mc
Hello, is there any way to make "filter" case insensitive? If there is no configuration option for this, how difficult would it be to change this in the source code? (I am using mc version: 3:4.8.22-1 on Debian 10 thank you ___ mc mailing list https:

filter files based on wildcard pattern

2022-02-21 Thread Fourhundred Thecat via mc
Hello, does midnight commander have a shortcut, to "filter" files in current directory based on a wildcard? I mean, for example, if I have many files in current dir, I would like to filter the view to only see files matching "*.pdf" I know there exists the "+" shortcut to select files based on

detect if shell is running standalone or from mc

2021-07-03 Thread Fourhundred Thecat via mc
Hello, how can I determine in a shell, whether the shell is running standalone or in mc? I am using zsh, and I have few aliases defined. I would like to change behavior of the alias, depending whether I am in mc or not. How can I detect it in the shell, that I am currently in mc? thanks,