Skip to content

Instantly share code, notes, and snippets.

@ekbelova
Created January 11, 2018 09:21
Show Gist options
  • Save ekbelova/da9ef9375435bd3c7cd67e4252804d3d to your computer and use it in GitHub Desktop.
Save ekbelova/da9ef9375435bd3c7cd67e4252804d3d to your computer and use it in GitHub Desktop.
Usefull shortkeys for midnight commander, for Mac users
----- Esc -----
Quick change directory: Esc + c
Command line history: Esc + h
Command line previous command: Esc + p
View change: Esc + t (each time you do this shortcut a new directory view will appear)
Print current working directory in command line: Esc + a
Switch between background command line and MC: Ctrl + Option + o
Search/Go to directory in active panel: Esc + s / Ctrl + Option + s then start typing directory name
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 -----
Refresh active panel: Ctrl + Option + r
Selecting files and directories: Ctrl+ Option + t
Switch active <-> inactive panels: Ctrl + Option + i
Switch active <-> inactive panels content: Ctrl+ Option + u
Execute command / Open a directory: Ctrl+ Option + j
----- F -----
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