Eugene M.
Eugene M.

Reputation: 353

How do I copy current folder name to the command line of Midnight commander?

I need something similar to ctrl+enter in total commander, copy current selected folder name in the panel to the command line

Upvotes: 16

Views: 10214

Answers (3)

Andrzej Jozwik
Andrzej Jozwik

Reputation: 14649

Try the shortcut:

Left Alt + Enter

Upvotes: 6

In some terminals (default configuration of Windows Terminal) you cannot use:

  • Alt+something combinations
  • modifier+Enter combinations

For such cases there are these sequences:

  • Esc, Enter or Ctrl+x, (Ctrl+)t --- copy the file (dir) name from the cursor to the command line
  • Esc, a or Ctrl+x, (Ctrl+)p --- copy the panel's directory path to the command line

Upvotes: 15

Vlad K
Vlad K

Reputation: 2841

The following combination does this: Alt+Shift+Enter

Upvotes: 0

Related Questions