% This file is licensed under GPLv2 or GPLv3 licensenses at your
% opinion.
% This is part of Midnight Commander extension project.
%
% Copyright © 2008 Andrew Savchenko
%

\documentclass[a4paper,dvips]{extarticle}
%packages
\usepackage[utf8]{inputenc}
\usepackage{keystroke}
\usepackage{xtab}
\usepackage{footmisc}
%options
\textwidth=16.5cm
\oddsidemargin=0cm

\begin{document}
\pagestyle{empty}

\begin{center}
{\Large\textbf{Midnight Commander Hot Keys}}

\emph{as of version 4.6.3-r170}
\end{center}

% define Meta key
\newcommand{\Meta}{\keystroke{Meta}}

\begin{mpxtabular}{lp{0.75\textwidth}}

\Meta\Return\footnote[1]{On modern keyboards instead of
\keystroke{Meta} both \Alt and \Esc may be used.\label{fn:meta}}
& Insert the current object\footnote[2]{Current object is an
object pointed by a cursor.\label{fn:object}}
in the command line. \\

\Meta\keystroke{p}\footref{fn:meta} & Returns previous executed
command line. \\

\Meta\keystroke{t}\footref{fn:meta} & Change panel listing mode
('Standard','Brief','Full'). \\

\Meta\keystroke{i}\footref{fn:meta} & Change inactive panel
directory to the current directory on the active panel. \\

\Meta\keystroke{n}\footref{fn:meta} & Returns next executed command
line. \\

\Meta\keystroke{a}\footref{fn:meta} & Sends \emph{pwd} command
execution result to the command line (current directory full path).
\\

\Meta\keystroke{c}\footref{fn:meta} & Call menu for quick current
directory change on active panel. \\

\Meta\keystroke{h}\footref{fn:meta} & Call recently executed
commands history. \\

\Ins & Highlight current object\footref{fn:object}. \\

\Ctrl\keystroke{$\backslash$} & Call often used directories menu.
\\

\Shift\keystroke{F1} & Call menu for fast jump between mount
points on the left panel. \\

\Shift\keystroke{F2} & Call menu for fast jump between mount
points on the right panel. \\

\keystroke{F3} & File view. \\

\Shift\keystroke{F3} & Raw file view discarding extension. \\

\Shift\keystroke{F4} & Create new file. \\

\Ctrl\keystroke{o} & Hide panels. \\

\Ctrl\keystroke{s} & Fast search for file or directory. \\

\Ctrl\keystroke{Space} & Show current directory size. \\

\Ctrl\keystroke{x}+\keystroke{t}\footnote[3]{The '+' sign means
you should first press combination on the left to it, dismiss it
and then press combination on the right to it.\label{fn:plus}}
& Insert all highlighted objects into the command
line. \\

\Ctrl\keystroke{x}+\keystroke{c}\footref{fn:plus} &
View/edit current object's\footref{fn:object} permissions. \\

\Ctrl\keystroke{x}+\keystroke{o}\footref{fn:plus} &
View/edit current object's\footref{fn:object} owner/group. \\

\Ctrl\keystroke{x}+\keystroke{l}\footref{fn:plus} & Create
hard link for the current object\footref{fn:object}. \\

\Ctrl\keystroke{x}+\keystroke{s}\footref{fn:plus} & Create
symbolic link for the current object\footref{fn:object}. \\

\Ctrl\keystroke{x}+\Ctrl\keystroke{s}\footref{fn:plus} &
Edit symlink. \\

\Ctrl\keystroke{x}+\keystroke{j}\footref{fn:plus} & Show all
background jobs. \\

\Ctrl\keystroke{x}+\keystroke{q}\footref{fn:plus} & Quick
file view on another panel. \\

\Ctrl\keystroke{x}+\keystroke{i}\footref{fn:plus} & Quick
info about current object\footref{fn:object} on another panel. \\

\Ctrl\keystroke{v} & Cycle through display mode for spaces
and/or tabs. \\

\Meta\keystroke{?}\footref{fn:meta} & Call extended file
search menu. \\

\Meta\keystroke{o}\footref{fn:meta} & Change inactive panel directory to one
pointed at active panel. \\

\Meta\keystroke{.}\footref{fn:meta} & Show/hide hidden files or directories
(files with prepending dot). \\

\Meta\keystroke{,}\footref{fn:meta} & Change panel display mode
(vertically/horizontally). \\

\Meta\keystroke{i}\footref{fn:meta} & Disables "Returns does autoindent" in
mcedit, useful for preformatted text inserting from the buffer. \\

\end{mpxtabular}

\end{document}
