Created
March 1, 2015 16:45
-
-
Save munum/0fc38271f38847233717 to your computer and use it in GitHub Desktop.
sublime text3 cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\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[utf8]{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{menukeys} | |
\usepackage{amsmath} % Symbols | |
\usepackage{MnSymbol} % Symbols | |
\usepackage{wasysym} % Symbols | |
%\usepackage[english,german,french,spanish,italian]{babel} % Languages | |
% Document Info | |
\pdfinfo{ | |
/Title (sublime-text-3-osx.pdf) | |
/Subject (Sublime Text 3 (OSX) 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}{444444} | |
\definecolor{LightBackground}{HTML}{ECECEC} | |
\renewcommand{\familydefault}{\sfdefault} | |
\color{TextColor} | |
% Header and Footer | |
\pagestyle{fancy} | |
\fancyhead{} % Set header to blank | |
\fancyfoot{} % Set footer to blank | |
\fancyhead[L]{ | |
\noindent | |
\fancyfoot[L]{ \footnotesize | |
\noindent | |
\DeclareUnicodeCharacter{2318}{\cmd} | |
\DeclareUnicodeCharacter{21E7}{\shift} | |
\DeclareUnicodeCharacter{2325}{\Alt} | |
\DeclareUnicodeCharacter{2303}{$\wedge$} % | |
\DeclareUnicodeCharacter{21A9}{\return} | |
\DeclareUnicodeCharacter{232B}{\del} | |
\DeclareUnicodeCharacter{238B}{\esc} | |
\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 | |
\small % Small font. | |
\bf | |
\begin{multicols*}{3} | |
\begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{General}} \tn | |
% Row 0 | |
\SetRowColor{LightBackground} | |
⌘ + ⇧ + P & Command Palette \tn | |
% Row Count 1 (+ 1) | |
% Row 1 | |
\SetRowColor{white} | |
⌘ + P & Goto Anything \tn | |
% Row Count 2 (+ 1) | |
% Row 2 | |
\SetRowColor{LightBackground} | |
⌘ + R & Goto Symbol \tn | |
% Row Count 3 (+ 1) | |
% Row 3 | |
\SetRowColor{white} | |
⌘ + N & New File \tn | |
% Row Count 4 (+ 1) | |
% Row 4 | |
\SetRowColor{LightBackground} | |
⌘ + S & Save File \tn | |
% Row Count 5 (+ 1) | |
% Row 5 | |
\SetRowColor{white} | |
⌘ + ⇧ + S & Save File As \tn | |
% Row Count 6 (+ 1) | |
% Row 6 | |
\SetRowColor{LightBackground} | |
⌘ + ⌥ + S & Save All \tn | |
% Row Count 7 (+ 1) | |
% Row 7 | |
\SetRowColor{white} | |
⌘ + O & Open File \tn | |
% Row Count 8 (+ 1) | |
% Row 8 | |
\SetRowColor{LightBackground} | |
⌘ + W & Close File \tn | |
% Row Count 9 (+ 1) | |
% Row 9 | |
\SetRowColor{white} | |
⌘ + ⇧ + T & Reopen Closed File \tn | |
% Row Count 10 (+ 1) | |
% Row 10 | |
\SetRowColor{LightBackground} | |
⌘ + ⇧ + N & New Window \tn | |
% Row Count 11 (+ 1) | |
% Row 11 | |
\SetRowColor{white} | |
⌘ + ⇧ + W & Close Window \tn | |
% Row Count 12 (+ 1) | |
% Row 12 | |
\SetRowColor{LightBackground} | |
⌘ + K, ⌘ + B & Show Sidebar \tn | |
% Row Count 13 (+ 1) | |
% Row 13 | |
\SetRowColor{white} | |
⌃ + ` & Show Console \tn | |
% Row Count 14 (+ 1) | |
% Row 14 | |
\SetRowColor{LightBackground} | |
⌘ + ⌃ + F & Enter Full Screen \tn | |
% Row Count 15 (+ 1) | |
% Row 15 | |
\SetRowColor{white} | |
⌘ + ⌃ + ⇧ + F & Enter Distraction Free Mode \tn | |
% Row Count 17 (+ 2) | |
\hhline{>{\arrayrulecolor{DarkBackground}}--} | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
\begin{tabularx}{5.377cm}{x{1.59264 cm} x{3.38436 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Moving / Editing}} \tn | |
% Row 0 | |
\SetRowColor{LightBackground} | |
⌘ + Z & Undo \tn | |
% Row Count 1 (+ 1) | |
% Row 1 | |
\SetRowColor{white} | |
⌘ + ⇧ + Z & Redo \tn | |
% Row Count 3 (+ 2) | |
% Row 2 | |
\SetRowColor{LightBackground} | |
⌘ + Y & Repeat \tn | |
% Row Count 4 (+ 1) | |
% Row 3 | |
\SetRowColor{white} | |
⌘ + C & Copy \tn | |
% Row Count 5 (+ 1) | |
% Row 4 | |
\SetRowColor{LightBackground} | |
⌘ + Y & Yank (inserts the text that's on top of the kill ring) \tn | |
% Row Count 8 (+ 3) | |
% Row 5 | |
\SetRowColor{white} | |
⌘ + X & Cut \tn | |
% Row Count 9 (+ 1) | |
% Row 6 | |
\SetRowColor{LightBackground} | |
⌘ + V & Paste \tn | |
% Row Count 10 (+ 1) | |
% Row 7 | |
\SetRowColor{white} | |
⌘ + ⇧ + V & Paste and Indent \tn | |
% Row Count 12 (+ 2) | |
% Row 8 | |
\SetRowColor{LightBackground} | |
⌘ + {]} & Indent \tn | |
% Row Count 13 (+ 1) | |
% Row 9 | |
\SetRowColor{white} | |
⌘ + {[} & Unindent \tn | |
% Row Count 14 (+ 1) | |
% Row 10 | |
\SetRowColor{LightBackground} | |
⌘ + ⌃ + ↑/↓ & Swap Line Up/Down \tn | |
% Row Count 16 (+ 2) | |
% Row 11 | |
\SetRowColor{white} | |
⌘ + ⇧ + D & Duplicate Line \tn | |
% Row Count 18 (+ 2) | |
% Row 12 | |
\SetRowColor{LightBackground} | |
⌃ + ⇧ + K & Delete (kill) Line \tn | |
% Row Count 20 (+ 2) | |
% Row 13 | |
\SetRowColor{white} | |
⌘ + J & Join Lines \tn | |
% Row Count 21 (+ 1) | |
% Row 14 | |
\SetRowColor{LightBackground} | |
⌘ + / & Toggle Comment \tn | |
% Row Count 22 (+ 1) | |
% Row 15 | |
\SetRowColor{white} | |
⌘ + ⌥ + / & Toggle Block Comment \tn | |
% Row Count 24 (+ 2) | |
% Row 16 | |
\SetRowColor{LightBackground} | |
⌘ + ⇧ + ↩ & Insert Line Before \tn | |
% Row Count 26 (+ 2) | |
% Row 17 | |
\SetRowColor{white} | |
⌘ + ↩ & Insert Line After \tn | |
% Row Count 27 (+ 1) | |
% Row 18 | |
\SetRowColor{LightBackground} | |
⌘ + ⌫ & Delete to Beginning of Line \tn | |
% Row Count 28 (+ 1) | |
% Row 19 | |
\SetRowColor{white} | |
⌃ + K & Delete to End of Line \tn | |
% Row Count 29 (+ 1) | |
% Row 20 | |
\SetRowColor{LightBackground} | |
⌃ + A & Move to Beginning of Line \tn | |
% Row Count 30 (+ 1) | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
\vfill | |
\columnbreak | |
\begin{tabularx}{5.377cm}{x{1.59264 cm} x{3.38436 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Moving / Editing (cont)}} \tn | |
% Row 21 | |
\SetRowColor{LightBackground} | |
⌃ + E & Move to End of Line \tn | |
% Row Count 1 (+ 1) | |
% Row 22 | |
\SetRowColor{white} | |
⌃ + P & (Previous) Move Up \tn | |
% Row Count 2 (+ 1) | |
% Row 23 | |
\SetRowColor{LightBackground} | |
⌃ + F & (Forward) Move Right \tn | |
% Row Count 3 (+ 1) | |
% Row 24 | |
\SetRowColor{white} | |
⌃ + N & (Next) Move Down \tn | |
% Row Count 4 (+ 1) | |
% Row 25 | |
\SetRowColor{LightBackground} | |
⌃ + B & (Back) Move Left \tn | |
% Row Count 5 (+ 1) | |
% Row 26 | |
\SetRowColor{white} | |
⌃ + T & Transpose (swap two characters or words; buggy behaviour) \tn | |
% Row Count 8 (+ 3) | |
% Row 27 | |
\SetRowColor{LightBackground} | |
⌘ + ⌥ + . & Close Tag \tn | |
% Row Count 10 (+ 2) | |
% Row 28 | |
\SetRowColor{white} | |
⌃ + ⇧ + W & Wrap Selection with Tag \tn | |
% Row Count 12 (+ 2) | |
% Row 29 | |
\SetRowColor{LightBackground} | |
⌘ + K, ⌘ + U & Convert Selected Text to Uppercase \tn | |
% Row Count 14 (+ 2) | |
% Row 30 | |
\SetRowColor{white} | |
⌘ + K, ⌘ + L & Convert Selected Text to Lowercase \tn | |
% Row Count 16 (+ 2) | |
% Row 31 | |
\SetRowColor{LightBackground} | |
⌘ + ⌥ + Q & Wrap Paragraph at Ruler \tn | |
% Row Count 18 (+ 2) | |
% Row 32 | |
\SetRowColor{white} | |
F5 & Sort Lines \tn | |
% Row Count 19 (+ 1) | |
% Row 33 | |
\SetRowColor{LightBackground} | |
⌃ + F5 & Sort Lines (Case Sensitive) \tn | |
% Row Count 20 (+ 1) | |
% Row 34 | |
\SetRowColor{white} | |
⌃ + G & Goto Line \tn | |
% Row Count 21 (+ 1) | |
% Row 35 | |
\SetRowColor{LightBackground} | |
⌃ + M & Jump to Matching Brackets (does not work with HTML/XML tags) \tn | |
% Row Count 24 (+ 3) | |
% Row 36 | |
\SetRowColor{white} | |
⌃ + L & Scroll to Selection (centers the screen to cursor) \tn | |
% Row Count 26 (+ 2) | |
% Row 37 | |
\SetRowColor{LightBackground} | |
⌃ + ⌥ + ↑/↓ & Scroll Line Up/Down \tn | |
% Row Count 28 (+ 2) | |
% Row 38 | |
\SetRowColor{white} | |
⌃ + Q & Record Macro \tn | |
% Row Count 29 (+ 1) | |
% Row 39 | |
\SetRowColor{LightBackground} | |
⌃ + ⇧ + Q & Playback Macro \tn | |
% Row Count 31 (+ 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}{Selection}} \tn | |
% Row 0 | |
\SetRowColor{LightBackground} | |
⌘ + U & Undo \tn | |
% Row Count 1 (+ 1) | |
% Row 1 | |
\SetRowColor{white} | |
⌘ + ⇧ + U & Soft Undo \tn | |
% Row Count 2 (+ 1) | |
% Row 2 | |
\SetRowColor{LightBackground} | |
⌘ + ⇧ + L & Split Selection Into Lines (inserts multiple cursors) \tn | |
% Row Count 5 (+ 3) | |
% Row 3 | |
\SetRowColor{white} | |
⌃ + ⇧ + ↑/↓ & Add Previous/Next Line (inserts multiple cursors) \tn | |
% Row Count 7 (+ 2) | |
% Row 4 | |
\SetRowColor{LightBackground} | |
⎋ & Single Selection (when there are multiple selections; exits to visual mode first if you are in insert mode) \tn | |
% Row Count 12 (+ 5) | |
% Row 5 | |
\SetRowColor{white} | |
⌘ + A & Select All \tn | |
% Row Count 13 (+ 1) | |
% Row 6 | |
\SetRowColor{LightBackground} | |
⌘ + D & Expand Selection to Word \tn | |
% Row Count 14 (+ 1) | |
% Row 7 | |
\SetRowColor{white} | |
⌘ + L & Expand Selection to Line \tn | |
% Row Count 15 (+ 1) | |
% Row 8 | |
\SetRowColor{LightBackground} | |
⌘ + ⇧ + A & Expand Selection to Tag (HTML/XML) \tn | |
% Row Count 17 (+ 2) | |
% Row 9 | |
\SetRowColor{white} | |
⌘ + ⇧ + Space & Expand Selection to Scope \tn | |
% Row Count 19 (+ 2) | |
% Row 10 | |
\SetRowColor{LightBackground} | |
⌃ + ⇧ + M & Expand Selection to Brackets \tn | |
% Row Count 21 (+ 2) | |
% Row 11 | |
\SetRowColor{white} | |
⌘ + ⇧ + J & Expand Selection to Indentation \tn | |
% Row Count 23 (+ 2) | |
\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}{Search / Replace}} \tn | |
% Row 0 | |
\SetRowColor{LightBackground} | |
⌘ + F & Find \tn | |
% Row Count 1 (+ 1) | |
% Row 1 | |
\SetRowColor{white} | |
⌘ + G & Find Next \tn | |
% Row Count 2 (+ 1) | |
% Row 2 | |
\SetRowColor{LightBackground} | |
⌘ + ⇧ + G & Find Previous \tn | |
% Row Count 4 (+ 2) | |
% Row 3 | |
\SetRowColor{white} | |
⌘ + I & Incremental Find \tn | |
% Row Count 5 (+ 1) | |
% Row 4 | |
\SetRowColor{LightBackground} | |
⌘ + ⌥ + F & Replace \tn | |
% Row Count 7 (+ 2) | |
% Row 5 | |
\SetRowColor{white} | |
⌘ + ⌥ + E & Replace Next \tn | |
% Row Count 9 (+ 2) | |
% Row 6 | |
\SetRowColor{LightBackground} | |
⌘ + ⌥ + G & Quick Find (searches for the word under the cursor) \tn | |
% Row Count 11 (+ 2) | |
% Row 7 | |
\SetRowColor{white} | |
⌘ + ⌃ + G & Quick Find All (selects all occurences of the word under the cursor) \tn | |
% Row Count 14 (+ 3) | |
% Row 8 | |
\SetRowColor{LightBackground} | |
⌘ + E & Use Selection for Find \tn | |
% Row Count 15 (+ 1) | |
% Row 9 | |
\SetRowColor{white} | |
⌘ + ⇧ + E & Use Selection for Replace \tn | |
% Row Count 17 (+ 2) | |
% Row 10 | |
\SetRowColor{LightBackground} | |
⌘ + ⇧ + F & Find in Files (all open files) \tn | |
% Row Count 19 (+ 2) | |
% Row 11 | |
\SetRowColor{white} | |
F4 & Next Result (file search results) \tn | |
% Row Count 21 (+ 2) | |
% Row 12 | |
\SetRowColor{LightBackground} | |
⇧ + F4 & Previous Result (file search results) \tn | |
% Row Count 23 (+ 2) | |
\hhline{>{\arrayrulecolor{DarkBackground}}--} | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
\begin{tabularx}{5.377cm}{x{1.89126 cm} x{3.08574 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Folding}} \tn | |
% Row 0 | |
\SetRowColor{LightBackground} | |
⌘ + ⌥ + {[} & Fold (selection) \tn | |
% Row Count 1 (+ 1) | |
% Row 1 | |
\SetRowColor{white} | |
⌘ + ⌥ + {]} & Unfold \tn | |
% Row Count 2 (+ 1) | |
% Row 2 | |
\SetRowColor{LightBackground} | |
⌘ + K, ⌘ + J & Unfold All \tn | |
% Row Count 4 (+ 2) | |
% Row 3 | |
\SetRowColor{white} | |
⌘ + K, ⌘ + 1 & Fold All \tn | |
% Row Count 6 (+ 2) | |
% Row 4 | |
\SetRowColor{LightBackground} | |
⌘ + K, ⌘ + 2-9 & Fold Level 2-9 \tn | |
% Row Count 8 (+ 2) | |
% Row 5 | |
\SetRowColor{white} | |
⌘ + K, ⌘ + T & Fold Tag Attributes (HTML/XML) \tn | |
% Row Count 10 (+ 2) | |
\hhline{>{\arrayrulecolor{DarkBackground}}--} | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
\begin{tabularx}{5.377cm}{x{2.68758 cm} x{2.28942 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Bookmarking}} \tn | |
% Row 0 | |
\SetRowColor{LightBackground} | |
⌘ + K, ⌘ + Space & Set Mark \tn | |
% Row Count 1 (+ 1) | |
% Row 1 | |
\SetRowColor{white} | |
⌘ + K, ⌘ + A & Select to Mark \tn | |
% Row Count 2 (+ 1) | |
% Row 2 | |
\SetRowColor{LightBackground} | |
⌘ + K, ⌘ + W & Delete to Mark \tn | |
% Row Count 3 (+ 1) | |
% Row 3 | |
\SetRowColor{white} | |
⌘ + K, ⌘ + X & Swap with Mark \tn | |
% Row Count 4 (+ 1) | |
% Row 4 | |
\SetRowColor{LightBackground} | |
⌘ + K, ⌘ + G & Clear to Mark \tn | |
% Row Count 5 (+ 1) | |
% Row 5 | |
\SetRowColor{white} | |
⌘ + F2 & Toggle Bookmark \tn | |
% Row Count 6 (+ 1) | |
% Row 6 | |
\SetRowColor{LightBackground} | |
F2 & Nex Bookmark \tn | |
% Row Count 7 (+ 1) | |
% Row 7 | |
\SetRowColor{white} | |
⇧ + F2 & Previous Bookmark \tn | |
% Row Count 8 (+ 1) | |
% Row 8 | |
\SetRowColor{LightBackground} | |
⌘ + ⇧ + F2 & Clear Bookmarks \tn | |
% Row Count 9 (+ 1) | |
\hhline{>{\arrayrulecolor{DarkBackground}}--} | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
\begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Miscellaneous}} \tn | |
% Row 0 | |
\SetRowColor{LightBackground} | |
F6 & Tobble Spell Check \tn | |
% Row Count 1 (+ 1) | |
% Row 1 | |
\SetRowColor{white} | |
⌃ + F6 & Next Misspelling \tn | |
% Row Count 2 (+ 1) | |
% Row 2 | |
\SetRowColor{LightBackground} | |
⌃ + ⇧ + F6 & Previous Misspelling \tn | |
% Row Count 3 (+ 1) | |
% Row 3 | |
\SetRowColor{white} | |
⌘ + B & Build \tn | |
% Row Count 4 (+ 1) | |
% Row 4 | |
\SetRowColor{LightBackground} | |
⌃ + Space & Show Completions \tn | |
% Row Count 5 (+ 1) | |
% Row 5 | |
\SetRowColor{white} | |
⌘ + ⌥ + T & Special Characters \tn | |
% Row Count 6 (+ 1) | |
\hhline{>{\arrayrulecolor{DarkBackground}}--} | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
\begin{tabularx}{5.377cm}{x{2.23965 cm} x{2.73735 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Vintage Mode}} \tn | |
% Row 0 | |
\SetRowColor{LightBackground} | |
. & Repeat \tn | |
% Row Count 1 (+ 1) | |
% Row 1 | |
\SetRowColor{white} | |
d, count (optional), motion/dd/D & Delete motion (e.g. a word) or delete line or delete line to end \tn | |
% Row Count 4 (+ 3) | |
% Row 2 | |
\SetRowColor{LightBackground} | |
c , count (optional), motion / C & Change motion or change until end of line (enters insert mode) \tn | |
% Row Count 7 (+ 3) | |
% Row 3 | |
\SetRowColor{white} | |
y , count (optional), motion / yy & Yank motion or yank (copy) Line \tn | |
% Row Count 9 (+ 2) | |
% Row 4 | |
\SetRowColor{LightBackground} | |
p/P & Paste yanked/deleted text after/before the cursor \tn | |
% Row Count 12 (+ 3) | |
% Row 5 | |
\SetRowColor{white} | |
0/\$ & Move to the beginning/end of a line \tn | |
% Row Count 14 (+ 2) | |
% Row 6 | |
\SetRowColor{LightBackground} | |
g & Most of {\emph{g}}'s power is not implemented in Vintage Mode. You can use the basic combinations {\emph{gg}} and {\emph{G}} to move to the top/bottom of the file. {\emph{number}}, {\emph{gg}} to move to that line. {\emph{ga}} to display character encoding in the status bar. \tn | |
% Row Count 25 (+ 11) | |
% Row 7 | |
\SetRowColor{white} | |
a/A & Append to cursor/line (enters insert mode) \tn | |
% Row Count 27 (+ 2) | |
% Row 8 | |
\SetRowColor{LightBackground} | |
i/I & Insert before cursor/line (enters insert mode) \tn | |
% Row Count 30 (+ 3) | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
\vfill | |
\columnbreak | |
\begin{tabularx}{5.377cm}{x{2.23965 cm} x{2.73735 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Vintage Mode (cont)}} \tn | |
% Row 9 | |
\SetRowColor{LightBackground} | |
w/W & Move forward a Word/WORD (WORDs are whitespace-separated words) \tn | |
% Row Count 3 (+ 3) | |
% Row 10 | |
\SetRowColor{white} | |
b/B & Move backwards a Word/WORD \tn | |
% Row Count 5 (+ 2) | |
% Row 11 | |
\SetRowColor{LightBackground} | |
e/E & Move to the end of a Word/WORD \tn | |
% Row Count 7 (+ 2) | |
% Row 12 | |
\SetRowColor{white} | |
f, character/F, character & Find (character) forward/backwards on the current line \tn | |
% Row Count 10 (+ 3) | |
% Row 13 | |
\SetRowColor{LightBackground} | |
r, character & Replace character under cursor \tn | |
% Row Count 12 (+ 2) | |
% Row 14 | |
\SetRowColor{white} | |
t/T & 'till (forward/backward) Used in combination with motions like {\emph{c}} or {\emph{d}}. For example, {\emph{d}}, {\emph{t}}, {\emph{\{}} deletes everything until the next \{ character (on the current line). \tn | |
% Row Count 20 (+ 8) | |
% Row 15 | |
\SetRowColor{LightBackground} | |
o/O & Open line below/above (enters insert mode) \tn | |
% Row Count 22 (+ 2) | |
% Row 16 | |
\SetRowColor{white} | |
\{/\} & Move to the beginning/end of a paragraph \tn | |
% Row Count 24 (+ 2) | |
% Row 17 | |
\SetRowColor{LightBackground} | |
s/S or cc & Substitute character/line (enters insert mode) \tn | |
% Row Count 27 (+ 3) | |
% Row 18 | |
\SetRowColor{white} | |
\seqsplit{H(igh)/M(id)/L(ow)} & Move cursor to the top/middle/bottom of the screen \tn | |
% Row Count 30 (+ 3) | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
\vfill | |
\columnbreak | |
\begin{tabularx}{5.377cm}{x{2.23965 cm} x{2.73735 cm} } | |
\SetRowColor{DarkBackground} | |
\mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Vintage Mode (cont)}} \tn | |
% Row 19 | |
\SetRowColor{LightBackground} | |
J & Join Lines \tn | |
% Row Count 1 (+ 1) | |
% Row 20 | |
\SetRowColor{white} | |
ZZ & CloseFile \tn | |
% Row Count 2 (+ 1) | |
% Row 21 | |
\SetRowColor{LightBackground} | |
x & Delete character under cursor \tn | |
% Row Count 4 (+ 2) | |
% Row 22 | |
\SetRowColor{white} | |
X & Backspace \tn | |
% Row Count 5 (+ 1) | |
% Row 23 | |
\SetRowColor{LightBackground} | |
v/V & Enters Visual Mode/Visual Line Mode \tn | |
% Row Count 7 (+ 2) | |
% Row 24 | |
\SetRowColor{white} | |
n/N & Find next/previous occurence of search \tn | |
% Row Count 9 (+ 2) | |
% Row 25 | |
\SetRowColor{LightBackground} | |
\textgreater{}, \textgreater{}/\textless{}, \textless{} & Indent/Unindent \tn | |
% Row Count 10 (+ 1) | |
% Row 26 | |
\SetRowColor{white} | |
\textasciitilde{} & SwapCase \tn | |
% Row Count 11 (+ 1) | |
% Row 27 | |
\SetRowColor{LightBackground} | |
q, character/@, character & Record/play macro \tn | |
% Row Count 13 (+ 2) | |
\hhline{>{\arrayrulecolor{DarkBackground}}--} | |
\end{tabularx} | |
\par\addvspace{1.3em} | |
% That's all folks | |
\end{multicols*} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment