How to exclude some pattern when doing a search in MC?

by akavel   Last Updated March 25, 2018 15:01 PM

In Midnight Commander, is it possible to exclude some directories/patterns/... when doing search? (M-?) I'm specifically interested in skipping the .hg subdirectory.



Answers 1


In the "[Misc]" section of your ~/.mc/ini file, you can specify the directories you wish to skip in the "find_ignore_dirs" setting.

To specify multiple directories, use a colon (":") as the delimiter.

Randolf Richardson
Randolf Richardson
April 22, 2011 18:41 PM

Related Questions



Custom function as "edit" in Midnight Commander

Updated May 15, 2015 11:14 AM

Midnight Commander rewrites the ini file

Updated February 27, 2017 10:01 AM

Sizes of the panels in Midnight Commander

Updated April 30, 2017 17:01 PM

How to change UI language for midnight commander Mac

Updated October 02, 2017 20:01 PM