24

One thing I really miss in Midnight Commander (compared to some GUI file explorers, like f.e. Thunar) is the ability to go to a certain directory by just typing prefix of its name.

For example for a current directory containing:

files
other
many
many_other
some

Typing man would take me to (focus) directory many. Is there any plugin that would let me configure MC that way?

syntagma
  • 12,091
  • 21
  • 57
  • 74
  • 1
    Relevant: [Ticket #2697 feature request: Filter as you type mode](https://midnight-commander.org/ticket/2697) – toraritte Jul 20 '20 at 19:04

2 Answers2

43

You don't need any plugins. You have two options:

  1. In current directory panel, type Alt+s or Ctrl+s, then type your search pattern, the cursor will jump to the matches sequentially. To toggle through all results that match the current pattern, repeat the keystroke.

    Note: The Ctrl+s combination will freeze many terminal implementations (press [Ctrl+q to unfreeze), so use Alt+s instead if that happens to you.

  2. Disable Command prompt in Options/Layout.

toraritte
  • 1,018
  • 13
  • 22
cuonglm
  • 150,973
  • 38
  • 327
  • 406
1

For os x terminal:

Press ⌘ command+⌥ option+o, you will see 'Option is Meta'.

Now works:

  • ⌘ command+s
  • ⌘ command+o
  • ⌘ command+i
rofrol
  • 225
  • 2
  • 6