diff options
Diffstat (limited to '080_blog/00110_Midnight-Commander-Cheatsheet/index.md')
| -rw-r--r-- | 080_blog/00110_Midnight-Commander-Cheatsheet/index.md | 72 |
1 files changed, 72 insertions, 0 deletions
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 +---------------- +<div class="row"> +<div class="col-2"><span class="px-2 bg-primary text-white">tab</span></div> +<div class="col-10">switch active panel</div> +</div> + +<div class="row"> +<div class="col-2"><span class="px-2 bg-primary text-white">up/down</span></div> +<div class="col-10">select previous/next rown</div> +</div> +<div class="row"> +<div class="col-2"><span class="px-2 bg-primary text-white">return</span></div> +<div class="col-10">open selected directory</div> +</div> +<div class="row"> +<div class="col-2"><span class="px-2 bg-primary text-white">alt-o</span></div> +<div class="col-10">open selected directory on other panel</div> +</div> +<!-- +<table class="table"> +<tbody> +<tr><td><span class="px-2 bg-primary text-white">up/down</span></td><td> select previous/next row</td></tr> +<tr><td><span class="px-2 bg-primary text-white">return</span></td><td> open selected directory</td></tr> +<tr><td><span class="px-2 bg-primary text-white">alt-o</span></td><td> open selected directory on other panel</td></tr> +</tbody> +</table> +--> + +View +---- +<div><span class="px-2 bg-primary text-white">alt-.</span> toggle hidden files</div> +<div><span class="px-2 bg-primary text-white">ctrl-o</span> toggle console</div> +<div><span class="px-2 bg-primary text-white">alt-t</span> toggle listing mode</div> +<div><span class="px-2 bg-primary text-white">alt-i</span> sync with other panel</div> +<div><span class="px-2 bg-primary text-white">ctrl-u</span> swap panels</div> + +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 |
