Skip to content

Instantly share code, notes, and snippets.

@travmik
Created January 14, 2013 13:52
Show Gist options
  • Save travmik/4530182 to your computer and use it in GitHub Desktop.
Save travmik/4530182 to your computer and use it in GitHub Desktop.
Midnight Commander aka MC shortcuts for OS X
----- Esc -----
Quick change directory Esc + c
Quick change directory history Esc + c and then Esc + h
Quick change directory previous entry Esc + c and then Esc + p
Command line history Esc + h
Command line previous command Esc + p
View change Esc + t
Print current working directory in command line Esc + a
Switch between background command line and MC Ctrl + o
Search/Go to directory in active panel Esc + s / Ctrl + s
Open same working directory in the inactive panel Esc + i
Open parent working directory in the inactive panel Esc + o
Go to top of directory in active pane Esc + v / Esc + g
Go to bottom of directory in active pane Esc + j / Ctrl + c
Go to previous directory Esc + y
Search pop-up Esc + ?
----- Ctrl -----
Copy panel's path to command line Ctrl + x + p
Refresh active panel Ctrl + r
Selecting files and directories Ctrl + t
Switch active <-> inactive panels Ctrl + i
Switch active <-> inactive panels content Ctrl + u
Execute command / Open a directory Ctrl + j
----- F -----
F1 help
F2 user menu
F3 read file / open directory
F4 edit file
F5 copy file or direcotry
F6 move file or directory
F7 create directory
F8 delete file / directory
F9 open menu bar
F10 exit MC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment