How to filter directories in Midnight Commander

送分小仙女□ 提交于 2020-08-07 06:36:12

问题


Maybe a stupid question, but how can I filter directories in Midnight Commander?

For example I have a folder with a lot of directories in it with the following naming:

holidays (2016)
birthdays (2016)
holidays (2015)
...

How can I filter like *2015* on directory tier?


回答1:


You can press ctrl+s and type *2015*; or if you want to search all directories by some given criteria, you can press alt+? (esc+? on Mac) and you will see search dialog: at 'Start at' put path to the folder where you would like to search something at file name you can put search criteria: *2015*




回答2:


The closest one can get to this feature at the moment is:

  1. Using quick search by pressing Alt+s and then typing your search pattern. The cursor will jump to the first match, but to toggle through all results that match the current pattern, use Ctrl+s.

  2. Disable Command prompt in Options -> Layout... (press F9 to get to the menu bar), and when you start typing quick search will be instantly activated (without having to press Alt+s).

  3. Try any of the workarounds in the open Ticket #2697 feature request: Filter as you type mode



来源:https://stackoverflow.com/questions/45681801/how-to-filter-directories-in-midnight-commander

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!