'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
Solution 1:[1]
Try the shortcut:
[Left Alt + Enter]
Solution 2:[2]
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
Solution 3:[3]
The following combination does this: Alt+Shift+Enter
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Andrzej Jozwik |
| Solution 2 | pabouk - Ukraine stay strong |
| Solution 3 | spoonboy |
