Cheatography
https://cheatography.com
Midnight commander keyboard shortcuts
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Navigation
↑↓ PgUp PgDown Pos1 End |
Move through filelist |
Tab |
Switch between the two windows |
F9 |
Select main menu on top of the screen. |
F1 .. F10 or Esc+1 .. Esc+0 |
Run actions shown on the bottom of the screen |
Enter |
Only if no command was entered: Open folder from filelist or start executable file. |
Ctrl+S |
Start quicksearch in current windows |
Esc Esc |
Exit from a menu or function. Esc has to be pushed in quick succession |
Running commands
a-z,0-9,Space,... |
Enter commandline (while a windows is selected) |
← → |
Move in the commandline |
Ctrl+←, Ctrl+→ |
Move in the commandline one word at a time |
Enter |
Run the commandline |
Alt+Enter, Ctrl+Enter |
Add the focused item (file,folde,..) in the current windows at the cursor position. |
Ctrl+x t |
Add all selected items from the current window |
Ctrl+A, Ctrl+E |
Go to the beginning/end of the commandline |
Ctrl+O |
Hide Interface, show command output |
Selecting Files&Directories
Ins (Insert key) |
Toggle selection of the focus item and move down |
+ (*) |
For entering a pattern to select items by (i.e. *.txt) |
- (*) |
For entering a pattern to unselect items by |
* (*) |
Reverse file selections in (folders are unaffected) |
All selection commands affect the current window only.
(*) Only if no commandline was entered.
|
|
Commandline placeholders
%s |
The selected item in the current windows. The focused item, if there are no selected ones. |
%d, %D |
The director yshown in the current(%d) or other(%D) window |
%D/%S |
Complete filenames of the other window. |
%% |
A single %-character |
Example: unzip %D/%S (Extracts selected zip file from the other window into the current one)
Important file actions
F5 |
Copy selected files/folders (other window's path is pre-selected) |
F6 |
Move selected files/folders (other window's path is pre-selected) |
Shift+F6 |
Rename focused file (current name can be edited) |
Ctrl+X Ctrl+A |
Edit target of focused symbolic link |
F8 |
Delete selected or focused item(s). There's no virtual trashbin . |
F3 |
Show text content of focused file. |
Ctrl+Space |
If folders are selected: Calculate subtree size If not: Calculate subtree size of focused folder and move down |
|
|
|