2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

Merge pull request #39 from bhavishyamathur/patch-1

Update vim.tex: added additional commands for undo and redo; added a copying feature with cut and paste
This commit is contained in:
Martin Thoma 2014-08-14 16:25:23 -04:00
commit ffd7317d80

View file

@ -48,15 +48,23 @@
\keys{e} & Move to the end of the word \\
\end{tabular}
\section{Cut and paste}
\section{Cut/Copy and paste}
\begin{enumerate}
\item Position the cursor where you want to begin cutting
\item Position the cursor where you want to begin cutting or copying
\item Press \keys{v} (or \keys{V} if you want to cut whole lines)
\item Move the cursor to the end of what you want to cut
\item Press \keys{d}
\item Move the cursor to the end of what you want to cut or copy
\item Press \keys{d} or Press \keys{y}
\item Move to where you would like to paste
\item Press \keys{p} to paste after the cursor, or \keys{P} to paste before
\end{enumerate}
\section{Undo and Repeat}
\begin{enumerate}
\item Enter the command mode
\item Press \keys{u} for "undo"
\subsection{Redo}
\item Best way is to enter "redo" in last line mode
\item Another way is to Press \keys{Ctrl}+\keys{r}
\end{enumerate}
\end{multicols}
\end{document}