[mc] Editor: Search

mi codejodler at gmx.ch
Wed Jun 3 15:32:56 UTC 2026


Jörg,

> hmm, my 4.8.30 version does remember the search item.
> IMHO searches are stored in ~/.local/share/mc/history, do you have this 
> and it's writeable?

Yes. 

Anyway, what else is supposed to be in that location ?

mc writes to 'filepos' but does not write to 'history'.

In the config dir 'ini' file, i have num_history_items_recorded=0 while i thought that would apply to the opened files, not the editor search.

Is that the cuplrit ?

If yes, then how can i have the search remembered, but not the opened files ... if that helps, i could just delete the filepos file after using mc (with an alias).





More information about the mc mailing list