\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{BradRhodes} \pdfinfo{ /Title (vim-shortcutfoo.pdf) /Creator (Cheatography) /Author (BradRhodes) /Subject (Vim ShortcutFoo 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}{A32125} \definecolor{LightBackground}{HTML}{F9F1F1} \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{Vim ShortcutFoo Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{BradRhodes} via \textcolor{DarkBackground}{\uline{cheatography.com/21055/cs/3899/}}} \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}BradRhodes \\ \uline{cheatography.com/bradrhodes} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 14th April, 2015.\\ Updated 9th May, 2016.\\ 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*}{3} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Beginner Text Navigation}} \tn % Row 0 \SetRowColor{LightBackground} k & Move up one line \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} j & Move down one line \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} h & Move left one character \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} l & Move right one character \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} e & Move to end of word \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} b & Move to beginning of word \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} \$ & Move to end of line \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} O & Move to beginning of line \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} H & Move to first line of screen \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} M & Move to middle line of screen \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} L & Move to last line of screen \tn % Row Count 11 (+ 1) % Row 11 \SetRowColor{white} w & Move to next word \tn % Row Count 12 (+ 1) % Row 12 \SetRowColor{LightBackground} b & Move to previous word \tn % Row Count 13 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Beginner Text Editing}} \tn % Row 0 \SetRowColor{LightBackground} ce & Change rest of current word \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} dw & Delete word \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} i & Insert \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} I & Insert at start of line \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} a & Append \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} A & Append at end of line \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} o & Insert new line below \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} O & Insert new line above \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} r & Change char and return to cmd mode \tn % Row Count 9 (+ 1) % Row 9 \SetRowColor{white} R & Enter replace mode \tn % Row Count 10 (+ 1) % Row 10 \SetRowColor{LightBackground} ESC & Go to command mode \tn % Row Count 11 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Intermediate Text Navigation I}} \tn % Row 0 \SetRowColor{LightBackground} fw & Move to next 'w' on line \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Fw & Move to previous 'w' on line \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} tw & Move before next 'w' on line \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Tw & Move before previous 'w' on line \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} ; & Repeat last f, F, t, or T \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} 5j & Move down 5 lines \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} 5k & Move up 5 lines \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.9954 cm} x{3.9816 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Intermediate Text Navigation II}} \tn % Row 0 \SetRowColor{LightBackground} 5w & Move 5 words forward \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 5b & Move 5 words backward \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} ctrl+e & Scroll down \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} ctrl+y & Scroll up \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} gg & Go to beginning of file \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} G & Go to end of file \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} 12G & Go to line 12 \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} ctrl+f & Move forward one screen \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} ctrl+b & Move backward one screen \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Intermediate Text Editing I}} \tn % Row 0 \SetRowColor{LightBackground} yy & Yank (copy) line \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} y\$ & Yank (copy) to end of line \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} ye & Yank (copy) to end of word \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} dd & Delete (cut) current line \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} 5dd & Delete 5 lines \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} d2w & Delete (cut) next 2 words \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} D & Delete (cut) to end of line (one char) \tn % Row Count 8 (+ 2) % Row 7 \SetRowColor{white} p & Paste \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.79632 cm} x{4.18068 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Intermediate Text Editing II}} \tn % Row 0 \SetRowColor{LightBackground} P & Paste before cursor \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} u & Undo \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} U & Undo all changes to current line \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \seqsplit{ctrl+r} & Redo \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} . & Repeat last change \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} 5. & Repeat last change 5 times \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} de & Delete (cut) to end of word \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} d\$ & Delete (cut) to end of line \tn % Row Count 8 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.69678 cm} x{4.28022 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Advanced Text Navigation}} \tn % Row 0 \SetRowColor{LightBackground} \textasciicircum{} & Move to first non-whitespace char \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 20| & Go to column 20 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \seqsplit{ctrl+o} & Move to older position \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{ctrl+i} & Move to newer position \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} zt & Scroll current line to top of window \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.64241 cm} x{3.33459 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Visual Mode}} \tn % Row 0 \SetRowColor{LightBackground} :w filename↵ & Write selection to 'filename' \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} v & Visual mode select characters \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} V & Visual mode highlight lines \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \textasciitilde{} & Swap case \tn % Row Count 7 (+ 1) % Row 4 \SetRowColor{LightBackground} \textgreater{} & Shift right \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} \textless{} & Shift left \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} c & Change highlighted text \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} y & Yank (copy) highlighted text \tn % Row Count 12 (+ 2) % Row 8 \SetRowColor{LightBackground} d & Cut highlighted text \tn % Row Count 13 (+ 1) % Row 9 \SetRowColor{white} = & Re-indent selection \tn % Row Count 14 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.4931 cm} x{3.4839 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Window Management}} \tn % Row 0 \SetRowColor{LightBackground} :e filename↵ & Set current buffer to 'filename' \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} :sp↵ & New window above \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} :vs↵ & New window to left \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} :q↵ & Close current window \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} :qa↵ & Close all windows \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.54287 cm} x{3.43413 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{File Management}} \tn % Row 0 \SetRowColor{LightBackground} :q!↵ & Quit without saving \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} :wq↵ & Save and exit \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} :x↵ & Save and exit if modified \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} :r filename↵ & Read and insert 'filename' \tn % Row Count 5 (+ 2) % Row 4 \SetRowColor{LightBackground} :r !cmd↵ & Execute and insert results of 'cmd' \tn % Row Count 7 (+ 2) % Row 5 \SetRowColor{white} :!rm filename↵ & Delete 'filename' \tn % Row Count 9 (+ 2) % Row 6 \SetRowColor{LightBackground} :e↵ & Open new file \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} ctrl+g & Show file info \tn % Row Count 11 (+ 1) % Row 8 \SetRowColor{LightBackground} ga & Show character info \tn % Row Count 12 (+ 1) % Row 9 \SetRowColor{white} :w↵ & Save changes \tn % Row Count 13 (+ 1) % Row 10 \SetRowColor{LightBackground} :q↵ & Quit \tn % Row Count 14 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.24425 cm} x{3.73275 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Bookmarks}} \tn % Row 0 \SetRowColor{LightBackground} :marks↵ & Show bookmarks \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} ma & Mark position 'a' \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} `a & Go to bookmark position 'a' \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} `` & Go to previous position \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.54287 cm} x{3.43413 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Replace}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{:s/foo/bar↵} & Replace first 'foo' with 'bar' on line \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{:s/foo/bar/g↵} & Replace all 'foo' with 'bar' on line \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{:\%s/foo/bar/g↵} & Replace all 'foo' with 'bar' in file \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{:\%s/foo/bar↵} & Replace first 'foo' with 'bar' on every line \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \seqsplit{:s/foo/bar/gc↵} & Confirm replace all 'foo' with 'bar' on line \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} \seqsplit{:s/foo/bar/i↵} & Ignore case replace first 'foo' with 'bar' \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} rx & Replace current char with 'x' \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} \seqsplit{:\%s/foo/bar/gc↵} & Confirm replace all 'foo' with 'bar' in file \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} :2,9s/foo/bar/g↵ & Replace all 'foo' with 'bar' between lines 2 and 9 \tn % Row Count 18 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.39356 cm} x{3.58344 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Search}} \tn % Row 0 \SetRowColor{LightBackground} /foo↵ & Search forwards for 'foo' \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} ?foo↵ & Search backwards for 'foo' \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} n & Search next \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} N & Search previous \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} * & Search for current word forward \tn % Row Count 6 (+ 2) % Row 5 \SetRowColor{white} :set nois↵ & Turn off incremental search \tn % Row Count 8 (+ 2) % Row 6 \SetRowColor{LightBackground} :set ic↵ & Set ignore case \tn % Row Count 9 (+ 1) % Row 7 \SetRowColor{white} :set is↵ & Set incremental search \tn % Row Count 10 (+ 1) % Row 8 \SetRowColor{LightBackground} :set hls & Set highlight matching phrases \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.34379 cm} x{3.63321 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Misc}} \tn % Row 0 \SetRowColor{LightBackground} vim -t foo↵ & Start editing where foo is defined \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} :help cmd↵ & Lookup 'cmd' in help \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} :make↵ & Run make \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} :!ls↵ & Run 'ls' command \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} ctrl+n & Move autocomplete forward \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} ctrl+p & Move autocomplete backward \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} ctrl+x & Move language autocomplete forward \tn % Row Count 10 (+ 2) % Row 7 \SetRowColor{white} ctrl+o & Move language autocomplete backward \tn % Row Count 12 (+ 2) % Row 8 \SetRowColor{LightBackground} K & Look up word in man pages \tn % Row Count 13 (+ 1) % Row 9 \SetRowColor{white} yw & Yank to beginning of next word \tn % Row Count 15 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.34379 cm} x{3.63321 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Misc}} \tn % Row 0 \SetRowColor{LightBackground} vim -t foo↵ & Start editing where foo is defined \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} :help cmd↵ & Lookup 'cmd' in help \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} :make↵ & Run make \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} :!ls↵ & Run 'ls' command \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} ctrl+n & Move autocomplete forward \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} ctrl+p & Move autocomplete backward \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} ctrl+x & Move language autocomplete forward \tn % Row Count 10 (+ 2) % Row 7 \SetRowColor{white} ctrl+o & Move language autocomplete backward \tn % Row Count 12 (+ 2) % Row 8 \SetRowColor{LightBackground} K & Look up word in man pages \tn % Row Count 13 (+ 1) % Row 9 \SetRowColor{white} yw & Yank to beginning of next word \tn % Row Count 15 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}