\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Mike Lue (Mike Lue)} \pdfinfo{ /Title (tmux.pdf) /Creator (Cheatography) /Author (Mike Lue (Mike Lue)) /Subject (Tmux Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{87C157} \definecolor{LightBackground}{HTML}{F7FBF4} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Tmux Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Mike Lue (Mike Lue)} via \textcolor{DarkBackground}{\uline{cheatography.com/88393/cs/20280/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Mike Lue (Mike Lue) \\ \uline{cheatography.com/mike-lue} \\ \uline{\seqsplit{gh}.mikelue.guru/} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 26th August, 2019.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-pencil\}\} Conventions}} \tn % Row 0 \SetRowColor{LightBackground} \{\{fa-arrow-up\}\}, \{\{fa-arrow-down\}\}, \{\{fa-arrow-left\}\}, \{\{fa-arrow-right\}\} & {\emph{Up}}, {\emph{Down}}, {\emph{Left}}, {\emph{Right}} \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \{\{fa-reply\}\}, \{\{fa-chevron-up\}\}, \{\{fa-exchange\}\} & {\emph{Alt}}, {\emph{Ctrl}}, {\emph{Shift}} \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} {\bf{a}}, {\bf{b}}, {\bf{c}}, {\bf{\textless{}key\textgreater{}}} & {\emph{a, b, and c}} keys, etc. \tn % Row Count 9 (+ 2) % Row 3 \SetRowColor{white} {\bf{{[}Home{]}}}, {\bf{{[}Insert{]}}}, {\bf{{[}\textless{}Key\textgreater{}{]}}} & {\emph{Home}}, {\emph{Insert}} keys, etc. \tn % Row Count 11 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{\{\{\{fa-mouse-pointer\}\}L\}}}\{\{nl\}\}{\bf{\{\{\{fa-mouse-pointer\}\}R\}}} & {\bf{Click}} {\emph{left key}} of mouse\{\{nl\}\}{\bf{Click}} {\emph{right key}} of mouse \tn % Row Count 15 (+ 4) % Row 5 \SetRowColor{white} \textasciicircum{}\{\{fa-asterisk\}\}\textasciicircum{}, \textasciicircum{}\{\{fa-asterisk\}\}\{\{fa-asterisk\}\}\textasciicircum{} & Additionl infomration in note area \tn % Row Count 18 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{This cheat sheet comes from {\emph{`man tmux`}}. \newline See \{\{link="https://github.com/tmux/tmux"\}\}Tmux on Github\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.84 cm} x{4.16 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-question-circle\}\} Help}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{?}}\{\{nl\}\}`:list-keys` & {\bf{List}} all key bindings \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{:}} & {\bf{Start}} command prompt \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Default {\emph{\textless{}prefix\textgreater{}}}: \{\{fa-chevron-up\}\} + {\bf{b}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Prefix key table}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Following sheets show shortcuts and commands under key table of default prefix. \newline % Row Count 2 (+ 2) `set-option -g prefix "C-b"` \newline % Row Count 3 (+ 1) `set-option -g prefix2 "\textless{}your prefix\textgreater{}"`% Row Count 4 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.2 cm} x{4.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-database\}\} Buffer}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{\#}}\{\{nl\}\}`:list-buffer` & \{\{nl\}\}{\bf{List}} the global buffers \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{-}}\{\{nl\}\}`:delete-buffer` & \{\{nl\}\}{\bf{Delete}} the most {\emph{recently added}} buffer \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} {\bf{=}}\{\{nl\}\}`:choose-buffer` & \{\{nl\}\}Start {\bf{buffer mode}}(as a pane) for choosing one \tn % Row Count 8 (+ 3) % Row 3 \SetRowColor{white} {\bf{{]}}}\{\{nl\}\}`:paste-buffer` & \{\{nl\}\}{\bf{Insert}} the content of {\emph{current buffer}} \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-columns\}\} Pane}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{x}}\{\{nl\}\}`:kill-pane` & {\bf{Kill}} pane \{\{fa-close\}\} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{;}}\{\{nl\}\}`:last-pane` & {\emph{Focus at}} {\bf{Last}} one \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{o}}\{\{nl\}\}`:select-pane` `-t :.+` & {\emph{Focus at}} {\bf{Next}} one \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \{\{fa-arrow-up\}\}, \{\{fa-arrow-down\}\}, \{\{fa-arrow-left\}\}, \{\{fa-arrow-right\}\}\{\{nl\}\}`:select-pane` `-U`/`-D`/`-L`/`-R` & {\emph{Focus at}} {\bf{Up}}, {\bf{Down}}, {\bf{Left}}, {\bf{Right}} one \tn % Row Count 12 (+ 6) % Row 4 \SetRowColor{LightBackground} {\bf{!}}\{\{nl\}\}`:break-pane`\{\{bt\}\} & {\bf{Move}} this pane to new window\{\{bt\}\} \tn % Row Count 14 (+ 2) % Row 5 \SetRowColor{white} {\bf{\{}}\{\{nl\}\}`:swap-pane -U` & {\bf{Swap position}} with {\emph{previous pane}} \tn % Row Count 16 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{\}}}\{\{nl\}\}`:swap-pane -D` & {\bf{Swap position}} with {\emph{next pane}} \tn % Row Count 18 (+ 2) % Row 7 \SetRowColor{white} \{\{fa-reply\}\} + {\bf{1}}\{\{nl\}\}`:select-layout even-horizontal`\{\{bt\}\} & Spread out evenly({\bf{from left to right}}) \{\{fa-columns\}\}\{\{bt\}\} \tn % Row Count 22 (+ 4) % Row 8 \SetRowColor{LightBackground} \{\{fa-reply\}\} + {\bf{2}}\{\{nl\}\}`:select-layout even-vertical` & Spread out evenly({\bf{from top to bottom}}) \tn % Row Count 25 (+ 3) % Row 9 \SetRowColor{white} \{\{fa-reply\}\} + {\bf{3}}\{\{nl\}\}`:select-layout main-horizontal` & 1. {\emph{Large pane}} is on the {\bf{top}}\{\{nl\}\}2. {\emph{Rest panes}} are spread on {\bf{bottom}}(from left to right) \tn % Row Count 30 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-columns\}\} Pane (cont)}} \tn % Row 10 \SetRowColor{LightBackground} \{\{fa-reply\}\} + {\bf{4}}\{\{nl\}\}`:select-layout main-vertical` & 1. {\emph{Large pane}} is on the {\bf{left}}\{\{nl\}\}2. {\emph{Rest panes}} are spread on {\bf{right}}(from top to bottom) \tn % Row Count 5 (+ 5) % Row 11 \SetRowColor{white} \{\{fa-reply\}\} + {\bf{5}}\{\{nl\}\}`:select-layout tiled` & Spread out as evenly as possible({\bf{rows and columns}}) \{\{fa-th-large\}\} \tn % Row Count 9 (+ 4) % Row 12 \SetRowColor{LightBackground} {\bf{q}}\{\{nl\}\}`:display-panes`\{\{bt\}\} & {\bf{Display}} {\emph{indicators(as number)}} of panes\{\{bt\}\} \tn % Row Count 12 (+ 3) % Row 13 \SetRowColor{white} {\bf{m}}\{\{nl\}\}`:select-pane -m`\{\{nl\}\}{\bf{M}}\{\{nl\}\}`:select-pane -M`\{\{bt\}\} & {\bf{Mark}} pane\{\{nl\}\}\{\{nl\}\}{\bf{Clear mark}} of pane\{\{bt\}\} \tn % Row Count 16 (+ 4) % Row 14 \SetRowColor{LightBackground} \{\{fa-reply\}\} + \{\{fa-arrow-up\}\}, \{\{fa-arrow-down\}\}, \{\{fa-arrow-left\}\}, \{\{fa-arrow-right\}\}\{\{nl\}\}`:resize-pane -U/-D/-L/-R 5`\{\{bt\}\} & {\bf{Resize}} pane by {\emph{5 lines}}\{\{nl\}\}{\emph{Up, Down, Left, Right}}\{\{bt\}\} \tn % Row Count 23 (+ 7) % Row 15 \SetRowColor{white} \{\{fa-chevron-up\}\} + \{\{fa-arrow-up\}\}, \{\{fa-arrow-down\}\}, \{\{fa-arrow-left\}\}, \{\{fa-arrow-right\}\}\{\{nl\}\}`:resize-pane -U/-D/-L/-R` & {\bf{Resize}} pane by {\emph{1 lines}}\{\{nl\}\}{\emph{Up, Down, Left, Right}} \tn % Row Count 30 (+ 7) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-columns\}\} Pane (cont)}} \tn % Row 16 \SetRowColor{LightBackground} {\bf{z}}\{\{nl\}\}`:resize-pane -Z` & {\emph{Resize}} pane to {\bf{Maximum/Normal}} size \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-tv\}\} Window}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{\&}}\{\{nl\}\}`:kill-window` & {\bf{Kill}} window \{\{fa-close\}\} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{,}}\{\{nl\}\}`:rename-window` & {\bf{Rename}} window(prompt) \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{.}}\{\{nl\}\}`:move-window` & {\bf{Move}} window(prompt) \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{{[}0-9{]}}}\{\{nl\}\}`:select-window -t :=\textless{}N\textgreater{}`\{\{bt\}\} & {\emph{Select}} {\bf{`\textless{}N\textgreater{}`}} window\{\{bt\}\} \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} {\bf{'}}\{\{nl\}\}`:select-window -t :\%\%` & {\emph{Select}} {\bf{`\textless{}N\textgreater{}`}} window(prompt) \tn % Row Count 11 (+ 2) % Row 5 \SetRowColor{white} {\bf{l}}\{\{nl\}\}`:last-window`\{\{nl\}\}{\bf{p}}\{\{nl\}\}`:previous-window` & {\emph{Select}} {\bf{last}} window\{\{nl\}\}\{\{nl\}\}{\emph{Select}} {\bf{previous}} window \tn % Row Count 15 (+ 4) % Row 6 \SetRowColor{LightBackground} {\bf{f}}\{\{nl\}\}`:find-window`\{\{bt\}\} & {\bf{Search}} for the {\emph{fnmatch(3) pattern}} in\{\{nl\}\}window names, titles, and visible content\{\{bt\}\} \tn % Row Count 20 (+ 5) % Row 7 \SetRowColor{white} {\bf{"}}\{\{nl\}\}`:split-window`\{\{bt\}\} & {\bf{Split}} window {\emph{vertically}}\{\{bt\}\} \tn % Row Count 22 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{\%}}\{\{nl\}\}`:split-window -h` & {\bf{Split}} window {\emph{horizontally}} \tn % Row Count 24 (+ 2) % Row 9 \SetRowColor{white} \{\{fa-chevron-up\}\} + {\bf{o}}\{\{nl\}\}`:rotate-window` & {\bf{Rotate panes}} in window \tn % Row Count 27 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-keyboard-o\}\} Client}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{d}}\{\{nl\}\}`:detach-client` & {\bf{Detach}} client \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{r}}\{\{nl\}\}`:refresh-client` & {\bf{Refresh}} current client \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{z}}\{\{nl\}\}`:suspend-client` & {\bf{Suspend}} client \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} {\bf{i}}\{\{nl\}\}`:display-message`\{\{nl\}\}{\bf{-}}\{\{nl\}\}`:show-messages`\{\{bt\}\} & {\bf{Display}} info of current pane \{\{fa-info-circle\}\}\{\{nl\}\}\{\{nl\}\}{\bf{Show}} client messages\{\{bt\}\} \tn % Row Count 12 (+ 5) % Row 4 \SetRowColor{LightBackground} {\bf{L}}\{\{nl\}\}`:switch-client -l`\{\{bt\}\} & {\bf{Switch}} the current session for client to\{\{nl\}\}{\bf{{\emph{Last one}}}}\{\{bt\}\} \tn % Row Count 16 (+ 4) % Row 5 \SetRowColor{white} {\bf{(}}\{\{nl\}\}`:switch-client -p` & {\bf{Switch}} the current session for client to\{\{nl\}\}{\bf{{\emph{Previous one}}}} \tn % Row Count 20 (+ 4) % Row 6 \SetRowColor{LightBackground} {\bf{)}}\{\{nl\}\}`:switch-client -n` & {\bf{Switch}} the current session for client to\{\{nl\}\}{\bf{{\emph{Next one}}}} \tn % Row Count 24 (+ 4) % Row 7 \SetRowColor{white} {\bf{t}}\{\{nl\}\}":clock-mode"\{\{bt\}\} & {\bf{Display}} a {\emph{large clock}} \{\{fa-clock-o\}\}\{\{bt\}\} \tn % Row Count 27 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{5.36 cm} x{2.64 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-toggle-on\}\} Session}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{\$}}\{\{nl\}\}`:rename-session`(prompt) & {\bf{Rename}} session \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.52 cm} x{4.48 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-database\}\} `:choose-buffer`}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{{[}Up{]}}}, {\bf{{[}Down{]}}} & Select {\bf{previous/next}} buffer \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{{[}Enter{]}}} & {\bf{Choose}} selected buffer \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{s}}\{\{bt\}\} & {\bf{Search}} by name\{\{bt\}\} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{n}} & {\bf{Repeat}} last search \tn % Row Count 7 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{t}}\{\{bt\}\} & {\bf{Toggle}} if {\emph{buffer is tagged}}\{\{bt\}\} \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} \{\{fa-chevron-up\}\} + {\bf{t}} & Tag {\bf{all}} buffers \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{T}} & Tag {\bf{no}} buffers \tn % Row Count 12 (+ 1) % Row 7 \SetRowColor{white} {\bf{d}}, {\bf{D}}\{\{bt\}\} & Delete {\bf{selected/tagged}} buffers\{\{bt\}\} \tn % Row Count 14 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{f}}\{\{bt\}\} & Enter a format to {\bf{filter}} items\{\{bt\}\} \tn % Row Count 16 (+ 2) % Row 9 \SetRowColor{white} {\bf{O}} & Change {\bf{sort order}} \tn % Row Count 17 (+ 1) % Row 10 \SetRowColor{LightBackground} {\bf{v}} & Toggle {\bf{preview}} \tn % Row Count 18 (+ 1) % Row 11 \SetRowColor{white} {\bf{q}}\{\{bt\}\} & {\bf{Exit}} mode\{\{bt\}\} \tn % Row Count 19 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.52 cm} x{4.48 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-server\}\} `:choose-client`}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{{[}Up{]}}}, {\bf{{[}Down{]}}} & Select {\bf{previous}}/{\bf{next}} client \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{{[}Enter{]}}} & {\bf{Choose}} selected client \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{v}} & Toggle {\bf{preview}} \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} \{\{fa-chevron-up\}\} + {\bf{s}}\{\{bt\}\} & {\bf{Search}} by name\{\{bt\}\} \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{n}} & {\bf{Repeat}} last search \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} {\bf{t}}\{\{bt\}\} & {\bf{Toggle}} if {\emph{client is tagged}}\{\{bt\}\} \tn % Row Count 10 (+ 2) % Row 6 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{t}} & Tag {\bf{all}} clients \tn % Row Count 12 (+ 2) % Row 7 \SetRowColor{white} {\bf{T}} & Tag {\bf{no}} clients \tn % Row Count 13 (+ 1) % Row 8 \SetRowColor{LightBackground} {\bf{d}}, {\bf{D}}\{\{bt\}\} & Detach {\bf{selected}}/{\bf{tagged}} clients\{\{bt\}\} \tn % Row Count 15 (+ 2) % Row 9 \SetRowColor{white} {\bf{x}}, {\bf{X}} & {\emph{Detach and HUP}} {\bf{selected/tagged}} client \tn % Row Count 17 (+ 2) % Row 10 \SetRowColor{LightBackground} {\bf{z}}, {\bf{Z}} & {\emph{Suspend}} {\bf{selected}}/{\bf{tagged}} clients \tn % Row Count 19 (+ 2) % Row 11 \SetRowColor{white} {\bf{f}}\{\{bt\}\} & Enter a format to {\bf{filter}} items\{\{bt\}\} \tn % Row Count 21 (+ 2) % Row 12 \SetRowColor{LightBackground} {\bf{O}} & Change {\bf{sort order}} \tn % Row Count 22 (+ 1) % Row 13 \SetRowColor{white} {\bf{q}}\{\{bt\}\} & {\bf{Exit}} mode\{\{bt\}\} \tn % Row Count 23 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.52 cm} x{4.48 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-sitemap\}\} `:choose-tree`}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{{[}Up{]}}}, {\bf{{[}Down{]}}} & Select {\bf{previous/next}} item \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{{[}\textless{}{]}}}, {\bf{{[}\textgreater{}{]}}} & {\emph{Scroll}} list of previews {\bf{left/right}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{{[}Enter{]}}} & {\bf{Choose}} selected item \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \{\{fa-chevron-up\}\} + {\bf{s}}\{\{bt\}\} & {\bf{Search}} by name\{\{bt\}\} \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{n}} & {\bf{Repeat}} last search \tn % Row Count 9 (+ 1) % Row 5 \SetRowColor{white} {\bf{t}}\{\{bt\}\} & {\bf{Toggle}} if {\emph{item is tagged}}\{\{bt\}\} \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{t}} & Tag {\bf{all}} items \tn % Row Count 13 (+ 2) % Row 7 \SetRowColor{white} {\bf{T}} & Tag {\bf{no}} items \tn % Row Count 14 (+ 1) % Row 8 \SetRowColor{LightBackground} {\bf{:}}\{\{bt\}\} & {\bf{Run}} a command for each {\emph{tagged item}}\{\{bt\}\} \tn % Row Count 17 (+ 3) % Row 9 \SetRowColor{white} {\bf{f}}\{\{bt\}\} & Enter a format to {\bf{filter}} items\{\{bt\}\} \tn % Row Count 19 (+ 2) % Row 10 \SetRowColor{LightBackground} {\bf{O}} & Change {\bf{sort order}} \tn % Row Count 20 (+ 1) % Row 11 \SetRowColor{white} {\bf{v}} & Toggle {\bf{preview}} \tn % Row Count 21 (+ 1) % Row 12 \SetRowColor{LightBackground} {\bf{q}}\{\{bt\}\} & {\bf{Exit}} mode\{\{bt\}\} \tn % Row Count 22 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-copy\}\} Copy Mode}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{{[}}} & {\bf{Start}} copy mode \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{{[}PageUp{]}}} & {\bf{Start}} copy mode and {\bf{{\emph{scroll one page up}}}} \tn % Row Count 4 (+ 3) % Row 2 \SetRowColor{LightBackground} {\bf{q}}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{c}}\{\{bt\}\} & {\bf{Quit}} copy mode\{\{bt\}\} \tn % Row Count 7 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{`set-window-option mode-keys vi`}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{{[}}}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{{[}PageUp{]}}}} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{q}}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{c}}\{\{bt\}\}} \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-vimeo-square\}\} Vi Copy Mode}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Following sheets show keys in {\bf{Vi edit mode}} \newline % Row Count 1 (+ 1) `set-window-option mode-keys vi`% Row Count 2 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\emph{\textless{}N\textgreater{}}} - As key {\bf{0-9}} for times of repeating the shortcuts \newline E.g.: `"5j"` - Move the cursor for left by {\bf{{\emph{5 times}}}} \newline {\emph{\textless{}ch\textgreater{}}} - Any printable character \newline `\textless{}word\textgreater{}` - Continuous characters of `{[}\_0-9a-zA-Z{]}` \newline `\textless{}WORD\textgreater{}` - Continuous non-blank characters \newline {\emph{\#line}} - As integer value for line number. E.g.: `"13"`} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-vimeo-square\}\} \{\{fa-copy\}\} Copy/Selection}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{{[}Space{]}}} & {\bf{Begin}} selection \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{v}}, {\bf{V}} & {\bf{Rectangle/Line-wise}} selection \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{o}} & {\bf{Switch other end}} in {\emph{selected area}} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{{[}Enter{]}}}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{j}}\{\{bt\}\} & {\bf{Copy selection}}\{\{bt\}\}\textasciicircum{}\{\{fa-asterisk\}\}\textasciicircum{} \tn % Row Count 8 (+ 3) % Row 4 \SetRowColor{LightBackground} {\bf{A}} & {\bf{Append selection}} to copied buffer\textasciicircum{}\{\{fa-asterisk\}\}\textasciicircum{} \tn % Row Count 11 (+ 3) % Row 5 \SetRowColor{white} {\bf{D}} & {\bf{Copy to end of line}}(from current position)\textasciicircum{}\{\{fa-asterisk\}\}\textasciicircum{} \tn % Row Count 15 (+ 4) % Row 6 \SetRowColor{LightBackground} {\bf{{[}Esc{]}}}\{\{bt\}\} & {\bf{Clear}} selection\{\{bt\}\} \tn % Row Count 17 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-asterisk\}\} - Will {\bf{{\emph{quit the copy mode}}}} after the action} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.84 cm} x{6.16 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-vimeo-square\}\} \{\{fa-search\}\} Search}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{/}}, {\bf{?}} & {\bf{Start Search}} `\textless{}text\textgreater{}` {\emph{forward/backward}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{n}}, {\bf{N}} & {\emph{\textless{}N\textgreater{}}} Search {\bf{next/reverse}} \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-vimeo-square\}\} \{\{fa-i-cursor\}\} {\emph{Cursor}}}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nl\}\}{\bf{k}}, {\bf{j}}, {\bf{h}}, {\bf{l}}\{\{nl\}\}\{\{fa-arrow-up\}\}, \{\{fa-arrow-down\}\}, \{\{fa-arrow-left\}\}, \{\{fa-arrow-right\}\}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{h}}\{\{nl\}\}{\bf{{[}Backspace{]}}} & {\emph{\textless{}N\textgreater{} Move cursor for}}:\{\{nl\}\}{\bf{Up, Down, Left, Right}}\{\{nl\}\}\{\{nl\}\}{\bf{Left}}\{\{nl\}\} \tn % Row Count 9 (+ 9) % Row 1 \SetRowColor{white} \{\{nl\}\}{\bf{\textasciicircum{}}}\{\{nl\}\}{\bf{0}}\{\{nl\}\}{\bf{\$}} & {\emph{Move cursor}} to(current line):\{\{nl\}\}{\bf{First non-blank char}}\{\{nl\}\}{\bf{First char}}\{\{nl\}\}{\bf{Last char}} \tn % Row Count 14 (+ 5) % Row 2 \SetRowColor{LightBackground} \{\{nl\}\}{\bf{f}}{\emph{\textless{}ch\textgreater{}}}, {\bf{t}}{\emph{\textless{}ch\textgreater{}}}\{\{nl\}\}{\bf{F}}{\emph{\textless{}ch\textgreater{}}}, {\bf{T}}{\emph{\textless{}ch\textgreater{}}}\{\{nl\}\}\{\{bl\}\} & {\emph{\textless{}N\textgreater{}}} {\emph{Move cursor to}}(current line):\{\{nl\}\}{\bf{Next}} {\emph{\textless{}ch\textgreater{}}}/\{\{fa-text-width\}\}{\emph{\textless{}ch\textgreater{}}}\{\{nl\}\}{\bf{Previous}} {\emph{\textless{}ch\textgreater{}/\textless{}ch\textgreater{}\{\{fa-text-width\}\}}} \tn % Row Count 21 (+ 7) % Row 3 \SetRowColor{white} {\bf{;}}, {\bf{,}}\{\{nl\}\}\{\{nl\}\}\{\{bl\}\} & {\emph{\textless{}N\textgreater{}}} {\bf{Repeat}} the latest `{\emph{"f/t\textless{}ch\textgreater{}"}}` in\{\{nl\}\}{\bf{{\emph{same/opposite}}}} direction \tn % Row Count 25 (+ 4) % Row 4 \SetRowColor{LightBackground} \{\{nl\}\}{\bf{w}}, {\bf{W}}\{\{nl\}\}{\bf{e}}, {\bf{E}}\{\{nl\}\}{\bf{b}}, {\bf{B}}\{\{nl\}\}{\bf{\{}}, {\bf{\}}} & {\emph{\textless{}N\textgreater{}}} {\emph{Move cursor to}}:\{\{nl\}\}{\bf{Next {\emph{beginning}}}} of `\textless{}word\textgreater{}/\textless{}WORD\textgreater{}`\{\{nl\}\}{\bf{Next {\emph{end}}}} of `\textless{}word\textgreater{}/\textless{}WORD\textgreater{}`\{\{nl\}\}{\bf{Previous {\emph{beginning}}}} of `\textless{}word\textgreater{}/\textless{}WORD\textgreater{}`\{\{nl\}\}{\bf{Previous/Next}} `paragraph` \tn % Row Count 35 (+ 10) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-vimeo-square\}\} \{\{fa-i-cursor\}\} {\emph{Cursor}} (cont)}} \tn % Row 5 \SetRowColor{LightBackground} \{\{nl\}\}{\bf{H}}\{\{nl\}\}{\bf{M}}\{\{nl\}\}{\bf{L}} & {\emph{\textless{}N\textgreater{}}} {\emph{Move cursor}} to(current screen):\{\{nl\}\}{\bf{Top}}(Head)\{\{nl\}\}{\bf{Middle}}\{\{nl\}\}{\bf{Bottom}}(Low) \tn % Row Count 5 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-vimeo-square\}\} \{\{fa-desktop\}\} Screen Scroll}} \tn % Row 0 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{b}}, \{\{fa-chevron-up\}\} + {\bf{f}}\{\{nl\}\}{\bf{{[}PageUp{]}}}, {\bf{{[}PageDown{]}}} & {\emph{\textless{}N\textgreater{}}} {\emph{Page}} {\bf{Up}}/{\bf{Down}} \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} \{\{fa-chevron-up\}\} + {\bf{d}}, \{\{fa-chevron-up\}\} + {\bf{u}}\{\{nl\}\}\{\{fa-chevron-up\}\} + \{\{fa-arrow-up\}\}, \{\{fa-chevron-up\}\} + \{\{fa-arrow-down\}\} & {\emph{\textless{}N\textgreater{}}} {\emph{Half Page}} {\bf{Up}}/{\bf{Down}} \tn % Row Count 12 (+ 7) % Row 2 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{y}}\{\{nl\}\}\{\{fa-chevron-up\}\} + \{\{fa-arrow-up\}\}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{e}}\{\{nl\}\}\{\{fa-chevron-up\}\} + \{\{fa-arrow-down\}\} & {\emph{\textless{}N\textgreater{}}} {\emph{One line}} {\bf{Up}}\{\{nl\}\}\{\{nl\}\}{\emph{\textless{}N\textgreater{}}} {\emph{One line}} {\bf{Down}} \tn % Row Count 19 (+ 7) % Row 3 \SetRowColor{white} {\bf{:}} {\emph{\#line}}\{\{bt\}\} & {\bf{Goto}} {\emph{"\#line"}} line \{\{fa-sort-numeric-desc\}\}\{\{bt\}\} \tn % Row Count 22 (+ 3) % Row 4 \SetRowColor{LightBackground} {\bf{g}}\{\{nl\}\}{\bf{G}} & {\bf{Top}} of {\emph{history}}\{\{nl\}\}{\bf{Bottom}} of {\emph{history}} \tn % Row Count 25 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{`set-window-option mode-keys emacs`}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{{[}}}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{{\bf{{[}PageUp{]}}}} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\bf{q}}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{c}}\{\{bt\}\}} \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-soccer-ball-o\}\} Emacs Copy Mode}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Following sheets show keys in {\bf{Emacs edit mode}} \newline % Row Count 1 (+ 1) `set-window-option mode-keys emacs` \newline % Row Count 2 (+ 1) {\bf{Cancel}} mode: {\bf{{[}Esc{]}}}% Row Count 3 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{{\emph{\textless{}N\textgreater{}}} - As key "\{\{fa-reply\}\} + {\bf{0-9}}" for times of repeating the shortcuts \newline E.g.: `"\{\{fa-reply\}\}+5 \{\{fa-chevron-up\}\}+{\bf{b}}"` - Move the cursor for left by {\bf{{\emph{5 times}}}} \newline {\emph{\textless{}ch\textgreater{}}} - Any printable character \newline {\emph{\#line}} - As integer value for line number. E.g.: `"13"`} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-soccer-ball-o\}\} \{\{fa-copy\}\} Copy/Selection}} \tn % Row 0 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{{[}Space{]}}} & {\bf{Begin}} selection \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{fa-chevron-up\}\} + {\bf{w}}\{\{nl\}\}\{\{fa-reply\}\} + {\bf{w}}\{\{bt\}\} & {\bf{Copy selection}}\{\{bt\}\}\textasciicircum{}\{\{fa-asterisk\}\}\textasciicircum{} \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{k}} & {\bf{Copy to end of line}}(from current position)\textasciicircum{}\{\{fa-asterisk\}\}\textasciicircum{} \tn % Row Count 9 (+ 4) % Row 3 \SetRowColor{white} \{\{fa-chevron-up\}\} + {\bf{g}}\{\{bt\}\} & {\bf{Clear}} selection\{\{bt\}\} \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-asterisk\}\} - Will {\bf{{\emph{quit the copy mode}}}} after the action} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-soccer-ball-o\}\} \{\{fa-search\}\} Search}} \tn % Row 0 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + {\bf{r}}, \{\{fa-chevron-up\}\} + {\bf{s}} & {\bf{Start Search}} `\textless{}text\textgreater{}` {\emph{backward/forward}} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} {\bf{R}} & {\bf{Rectangle}} selection \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{n}}, {\bf{N}} & {\emph{\textless{}N\textgreater{}}} Search {\bf{next/reverse}} \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-soccer-ball-o\}\} \{\{fa-i-cursor\}\} {\emph{Cursor}}}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{p}}, \{\{fa-chevron-up\}\} + {\bf{n}}\{\{nl\}\}\{\{fa-arrow-up\}\}, \{\{fa-arrow-down\}\}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{b}}, \{\{fa-chevron-up\}\} + {\bf{f}}\{\{nl\}\}\{\{fa-arrow-left\}\}, \{\{fa-arrow-right\}\} & {\emph{\textless{}N\textgreater{} Move cursor for}}:\{\{nl\}\}{\bf{Up, Down}}\{\{nl\}\}\{\{nl\}\}{\bf{Left, Right}} \tn % Row Count 10 (+ 10) % Row 1 \SetRowColor{white} \{\{nl\}\}\{\{fa-reply\}\} + {\bf{m}}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{a}}\{\{nl\}\}{\bf{{[}Home{]}}}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{e}}\{\{nl\}\}{\bf{{[}End{]}}} & {\emph{Move cursor}} to(current line):\{\{nl\}\}{\bf{First non-blank char}}\{\{nl\}\}{\bf{First char}}\{\{nl\}\}\{\{nl\}\}{\bf{Last char}} \tn % Row Count 16 (+ 6) % Row 2 \SetRowColor{LightBackground} \{\{nl\}\}{\bf{f}}{\emph{\textless{}ch\textgreater{}}}, {\bf{t}}{\emph{\textless{}ch\textgreater{}}}\{\{nl\}\}{\bf{F}}{\emph{\textless{}ch\textgreater{}}}, {\bf{T}}{\emph{\textless{}ch\textgreater{}}}\{\{nl\}\}\{\{bl\}\} & {\emph{\textless{}N\textgreater{}}} {\emph{Move cursor to}}(current line):\{\{nl\}\}{\bf{Next}} {\emph{\textless{}ch\textgreater{}}}/\{\{fa-text-width\}\}{\emph{\textless{}ch\textgreater{}}}\{\{nl\}\}{\bf{Previous}} {\emph{\textless{}ch\textgreater{}/\textless{}ch\textgreater{}\{\{fa-text-width\}\}}} \tn % Row Count 23 (+ 7) % Row 3 \SetRowColor{white} {\bf{;}}, {\bf{,}}\{\{nl\}\}\{\{nl\}\}\{\{bl\}\} & {\emph{\textless{}N\textgreater{}}} {\bf{Repeat}} the latest `{\emph{"f/t\textless{}ch\textgreater{}"}}` in\{\{nl\}\}{\bf{{\emph{same/opposite}}}} direction \tn % Row Count 27 (+ 4) % Row 4 \SetRowColor{LightBackground} \{\{nl\}\}\{\{fa-reply\}\} + {\bf{f}}\{\{nl\}\}\{\{fa-reply\}\} + {\bf{b}}\{\{nl\}\}\{\{fa-reply\}\} + {\bf{\{}}, \{\{fa-reply\}\} + {\bf{\}}} & {\emph{\textless{}N\textgreater{}}} {\emph{Move cursor to}}:\{\{nl\}\}{\bf{Next end}} of `\textless{}word\textgreater{}`\{\{nl\}\}{\bf{Previous}} `\textless{}word\textgreater{}`\{\{nl\}\}{\bf{Next/Previous}} `paragraph` \tn % Row Count 33 (+ 6) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-soccer-ball-o\}\} \{\{fa-i-cursor\}\} {\emph{Cursor}} (cont)}} \tn % Row 5 \SetRowColor{LightBackground} \{\{nl\}\}\{\{fa-reply\}\} + {\bf{R}}, \{\{fa-reply\}\} + {\bf{r}} & {\emph{\textless{}N\textgreater{}}} {\emph{Move cursor}} to(current screen):\{\{nl\}\}{\bf{Top}}/{\bf{Middle}} \tn % Row Count 4 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-soccer-ball-o\}\} \{\{fa-desktop\}\} Screen Scroll}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{{[}PageUp{]}}}\{\{nl\}\}\{\{fa-reply\}\} + {\bf{v}}\{\{nl\}\}{\bf{{[}Space{]}}}\{\{nl\}\}{\bf{{[}PageDown{]}}}\{\{nl\}\}\{\{fa-chevron-up\}\} + {\bf{v}} & {\emph{\textless{}N\textgreater{}}} Page {\bf{up}}\{\{nl\}\}\{\{nl\}\}{\emph{\textless{}N\textgreater{}}} Page {\bf{down}} \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} \{\{fa-reply\}\} + \{\{fa-arrow-up\}\}, \{\{fa-reply\}\} + \{\{fa-arrow-down\}\} & {\emph{\textless{}N\textgreater{}}} {\emph{Half Page}} {\bf{Up/Down}} \tn % Row Count 10 (+ 4) % Row 2 \SetRowColor{LightBackground} \{\{fa-chevron-up\}\} + \{\{fa-arrow-up\}\}, \{\{fa-chevron-up\}\} + \{\{fa-arrow-down\}\} & {\emph{\textless{}N\textgreater{}}} {\emph{One line}} {\bf{Up/Down}} \tn % Row Count 14 (+ 4) % Row 3 \SetRowColor{white} {\bf{g}} {\emph{\#line}}\{\{bt\}\} & {\bf{Goto}} {\emph{"\#line"}} line \{\{fa-sort-numeric-desc\}\}\{\{bt\}\} \tn % Row Count 17 (+ 3) % Row 4 \SetRowColor{LightBackground} \{\{fa-reply\}\} + {\bf{\textless{}}}\{\{nl\}\}\{\{fa-reply\}\} + {\bf{\textgreater{}}} & {\bf{Top}} of {\emph{history}}\{\{nl\}\}{\bf{Bottom}} of {\emph{history}} \tn % Row Count 20 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Target pane/window/session, client}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{} \tn % Row Count 0 (+ 0) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-columns\}\} Target pane}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{`\textless{}session\textgreater{}:\textless{}window\textgreater{}.\textless{}pane\textgreater{}`}} & {\bf{Full name}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Specical {\bf{token}}:\{\{nl\}\}{\bf{!}} ({\emph{\{last\}}})\{\{nl\}\}{\bf{+}} ({\emph{\{next\}}})\{\{nl\}\}{\bf{-}} ({\emph{\{previous\}}})\{\{bt\}\} & \{\{nl\}\}{\bf{Last}} pane\{\{nl\}\}{\bf{Next}} window\{\{nl\}\}{\bf{Previous}} window\{\{bt\}\} \tn % Row Count 7 (+ 5) % Row 2 \SetRowColor{LightBackground} {\bf{Offset}}\{\{nl\}\}{\emph{+\textless{}N\textgreater{}}}, {\emph{-\textless{}N\textgreater{}}} & \{\{nl\}\}{\bf{Next/Previous}} offsets of pane \tn % Row Count 9 (+ 2) % Row 3 \SetRowColor{white} {\bf{tokens}}(relative position):\{\{nl\}\}{\emph{\{up-of\}}}\{\{nl\}\}{\emph{\{down-of\}}}\{\{nl\}\}{\emph{\{left-of\}}}\{\{nl\}\}{\emph{\{right-of\}}} & \{\{nl\}\}{\bf{Above}}\{\{nl\}\}{\bf{Below}}\{\{nl\}\}{\bf{to the Left}}\{\{nl\}\}{\bf{to the Right}}\{\{nl\}\}of the {\emph{current pane}} \tn % Row Count 14 (+ 5) % Row 4 \SetRowColor{LightBackground} {\bf{tokens}}(absolute position):\{\{nl\}\}{\emph{\{top\}}}\{\{nl\}\}{\emph{\{bottom\}}}\{\{nl\}\}{\emph{\{left\}}}\{\{nl\}\}{\emph{\{right\}}}\{\{nl\}\}{\emph{\{top-left\}}}\{\{nl\}\}{\emph{\{top-right\}}}\{\{nl\}\}{\emph{\{bottom-left\}}}\{\{nl\}\}{\emph{\{bottom-right\}}} & \{\{nl\}\}The {\bf{top}}\{\{nl\}\}The {\bf{bottom}}\{\{nl\}\}The {\bf{leftmost}}\{\{nl\}\}The {\bf{rightmost}}\{\{nl\}\}The {\bf{top-left}}\{\{nl\}\}The {\bf{top-right}}\{\{nl\}\}The {\bf{bottom-left}}\{\{nl\}\}The {\bf{bottom-right}}\{\{nl\}\}{\emph{pane}} \tn % Row Count 24 (+ 10) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-desktop\}\} Target window}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{`\textless{}session\textgreater{}:\textless{}window\textgreater{}`}} & {\bf{Full name}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 1. As a specical {\bf{token}}:\{\{nl\}\}{\bf{\textasciicircum{}}} ({\emph{\{start\}}})\{\{nl\}\}{\bf{\$}} ({\emph{\{end\}}})\{\{nl\}\}{\bf{!}} ({\emph{\{last\}}})\{\{nl\}\}{\bf{+}} ({\emph{\{next\}}})\{\{nl\}\}{\bf{-}} ({\emph{\{previous\}}})\{\{bt\}\} & \{\{nl\}\}{\bf{Lowest-Numbered}} window\{\{nl\}\}{\bf{Highest-Numbered}} window\{\{nl\}\}{\bf{Last}} window\{\{nl\}\}{\bf{Next}} window\{\{nl\}\}{\bf{Previous}} window\{\{bt\}\} \tn % Row Count 10 (+ 8) % Row 2 \SetRowColor{LightBackground} 2. A window {\bf{index}} & "{\emph{session1:0}}", "{\emph{session1:1}}" \tn % Row Count 12 (+ 2) % Row 3 \SetRowColor{white} 3. A Window {\bf{ID}}(prefixed with {\bf{@}}) & "{\emph{@1}}", "{\emph{@2}}" \tn % Row Count 14 (+ 2) % Row 4 \SetRowColor{LightBackground} 4. An {\bf{exact}} window name & "{\emph{session2:help}}", "{\emph{session2:devs-1}}" \tn % Row Count 16 (+ 2) % Row 5 \SetRowColor{white} 5. The {\bf{start}} of a window name & "{\emph{session3:he}}", "{\emph{session3:devs}}" \tn % Row Count 18 (+ 2) % Row 6 \SetRowColor{LightBackground} 6. As an \{\{link="http://man7.org/linux/man-pages/man3/fnmatch.3.html"\}\}fnmatch(3)\{\{/link\}\} {\bf{pattern}} for matching the window name & "{\emph{session4:he*}}", "{\emph{session4:devs-?}}" \tn % Row Count 25 (+ 7) % Row 7 \SetRowColor{white} `:list-windows` (`{\emph{lsw}}`)\{\{bt\}\} & {\bf{List}} windows\{\{bt\}\} \tn % Row Count 27 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{"{\emph{.:\textless{}target-window\textgreater{}}}", "{\emph{:\textless{}target-window\textgreater{}}}", "{\emph{\textless{}target-window\textgreater{}}}" uses current session} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-toggle-on\}\} Target session}} \tn % Row 0 \SetRowColor{LightBackground} 1. A session {\bf{ID}}(prefixed with {\bf{\$}}) & "{\emph{\$0}}", "{\emph{\$1}}", "{\emph{\$2}}" \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 2. An {\bf{exact}} name & "{\emph{Work}}", "{\emph{Monitor-S1}}", "{\emph{Monitor-S2}}" \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} 3. The {\bf{start}} of session name & "{\emph{Wo}}", "{\emph{Monitor}}" \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} 4. An {\emph{\{\{link="http://man7.org/linux/man-pages/man3/fnmatch.3.html"\}\}fnmatch(3)\{\{/link\}\}}} pattern for matching session name & "{\emph{Monitor*"}}, "{\emph{Monitor-S?}}" \tn % Row Count 13 (+ 7) % Row 4 \SetRowColor{LightBackground} {\bf{Exact matching}} by prefixed with `=` & "{\emph{=Work}}", "{\emph{=Monitor-S2}}" \tn % Row Count 15 (+ 2) % Row 5 \SetRowColor{white} `:list-sessions` (`{\emph{ls}}`)\{\{bt\}\} & {\bf{List}} all sessions\{\{bt\}\} \tn % Row Count 17 (+ 2) % Row 6 \SetRowColor{LightBackground} `:has-session -t \textless{}target-session\textgreater{}` (`{\emph{has}}`) & Checks if a session is {\bf{existing}} \tn % Row Count 20 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.64 cm} x{3.36 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{\{\{fa-keyboard-o\}\} Target client}} \tn % Row 0 \SetRowColor{LightBackground} Name is normally as {\emph{\{\{link="http://man7.org/linux/man-pages/man7/pty.7.html"\}\}pty(7)\{\{/link\}\}}} file & "{\emph{/dev/pty0}}", "{\emph{/dev/pts/1}}" \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} `:list-clients` (`{\emph{:lsc}}`)\{\{bt\}\} & {\bf{List}} clients\{\{bt\}\} \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}