From 00447070772d74c33d099eb3d1097fa9a549cd57 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 17 Feb 2019 13:08:16 +0100 Subject: first draft --- .../00110_Midnight-Commander-Cheatsheet/index.md | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 080_blog/00110_Midnight-Commander-Cheatsheet/index.md (limited to '080_blog/00110_Midnight-Commander-Cheatsheet/index.md') diff --git a/080_blog/00110_Midnight-Commander-Cheatsheet/index.md b/080_blog/00110_Midnight-Commander-Cheatsheet/index.md new file mode 100644 index 0000000..0a11a9b --- /dev/null +++ b/080_blog/00110_Midnight-Commander-Cheatsheet/index.md @@ -0,0 +1,72 @@ +Midnight Commander Cheatsheet +============================= + + June 07, 2018 + +A short cheatsheet summarizing midnight commander's most useful shortcut keys. + +Basic Navigation +---------------- +
+
tab
+
switch active panel
+
+ +
+
up/down
+
select previous/next rown
+
+
+
return
+
open selected directory
+
+
+
alt-o
+
open selected directory on other panel
+
+ + +View +---- +
alt-. toggle hidden files
+
ctrl-o toggle console
+
alt-t toggle listing mode
+
alt-i sync with other panel
+
ctrl-u swap panels
+ +Miscellaneous +------------- + shift-f6 rename filling in the current name + insert/ctrl-t/+/\/* - selections + esc-tab auto complete + ctrl-enter / alt-enter - copy currently selected filename to console + Ctrl + Shift + Enter - copy full path + enter/f3/f4 - ??? how to have full control over behaviour.. debian? notes./. + xdg-mime default evince.desktop application/pdf + alias mc='EDITOR=vim' + + alt-shift-h show dir history + alt-y/alt-u (navigate history?) + + alt+?/alt-s/ctrl-s search + + ctrl-space calc size + ctrl - x c chmod + ctrl - x o chown + + alias mc='. /usr/libexec/mc/mc-wrapper.sh' - will stay in dir after exit + + Ref: http://klimer.eu/2015/05/01/use-midnight-commander-like-a-pro/ + man mc + ... + +NOTE: I run mc inside tmux and the shifted function keys did not work as +expected. Use midnight commanders Learn Keys dialog to fix this -- cgit v1.2.3