Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 0 down vote accepted
+50

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.

share|improve this answer
    
Thanks a lot! That seems only to work for absolute dirs, but that's still something. And your hint helped me to start further research, which seems to show that some cutting-edge versions of mc seem to have this feature boosted a bit. –  akavel Apr 26 '11 at 7:48
    
It definitely would be nice if this could be a part of the user interface since changes to configuration files tend to be more permanent. Thanks for the update! –  Randolf Richardson Apr 26 '11 at 14:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.