Show Menu
Cheatography

Midnight Commander Keyboard Shortcuts by

Midnight Commander Keyboard Shortcuts

General

Ctrl+l
Refresh display
Alt+.
Toggle hidden files display
Alt+,
Toggle horizo­nta­l/v­ertical split
Alt+$
Show screen selector
Alt+;/:
Switch to previo­us/next screen

Selected Items

Shift+F5
Copy to current directory
Shift+F6
Rename selected item
Ctrl+x, c
chmod dialog
Ctrl+x, o
chown dialog
Ctrl+x, v
Relative symlink dialog
Ctrl+x, s
Absolute symlink dialog
Ctrl+x, l
Hardlink dialog
Ctrl+x, Ctrl+d
File diff active­/in­active panel selection
Ctrl+x, d
Directory diff active­/in­active panel selection
Selected items are the tagged items or the highli­ghted item. Common actions mapped to F-keys are listed at the bottom of the screen.

Notes

- The basic panel navigation shortcuts are not included.
- Some of these keyboard shortcuts are custom and chosen to work well for a (Belgian) azerty layout.
 

Active Panel

Insert or Ctrl+t
Tag/untag focused item
+
Tag items by pattern
-
Untag items by pattern
*
Invert tagging of items
Alt+s
Search­/jump to by pattern
Alt+?
Open search dialog
Alt+t
Cycle panel view mode
Ctrl+x, i
Toggle other panel to inform­ation mode
Ctrl+x, q
Toggle other panel to quick view mode
Alt+c
Change directory popup
Alt+i
Change other panel to the same directory
Alt+o
Change other panel to the selected directory (or the parent directory if a file is selected + select next item)
Alt+H
Directory history
Alt+y/u
CD to previo­us/next directory in the history
F12
Open directory hotlist
Ctrl+x, h
Add current directory to hotlist
Ctrl+space
Calculate selected item sizes (.. calculates all item sizes)
Ctrl+r
Refresh listing
Ctrl+u
Swap panels
Alt+P
Open Sort dialog
Alt+
   N/E/S/M
Sort by
   Name/Ext/Size/ModTime
Alt+!
Filtered view
 

Command Line

Alt+h
Open command history
Alt+p/n
Select previo­us/next hisotry entry
Shift+Tab
Complete item name
Ctrl+a/e
Jump to start/end of line
Ctrl+k
Clear to end of line
Alt+/
Jump to start of previo­us/next word
Alt+a/A
Paste active­/in­active panel directory path
Alt+Enter
Paste active panel selected item name
Ctrl+x, t
Paste names of tagged files in active panel
Ctrl+a followed by Ctrl+k clears the full input line

Cmd line variables (activ­e/i­nactive panel)

%d / %D
directory path
%s / %S
selected (focused) item path
%f / %F
selected item name
%b / %B
selected item base name
%x / %X
selected item extension
%t / %T
tagged item name(s)
%%
literal % character
The current directory in the command line always matches the active panel's directory.

Other Resources

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.