Go to file/directory in Midnight Commander by typing

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?

Asked By: syntagma

||

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.

Answered By: cuonglm

You can press Ctrl to go to a list of shortcuts to your preferred directories. You can organize these directories in groups.

On a side note: it’s worth to invest a few minutes in reading the manual. There are many, many useful commands you’ll discover.

Edit: If all you want is to navigate to a directory in the current panel, then Alts is the way to go, as @cuonglm points out. You can then press Alto to open the subdirectory pointed to by the cursor in the other panel, and you can also press Altl to follow symlinks.

Answered By: lcd047

For os x terminal:

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

Now works:

  • ⌘ command+s
  • ⌘ command+o
  • ⌘ command+i
Answered By: rofrol
Categories: Answers Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.