Browse Source

added cut and paste

Martin Thoma 12 years ago
parent
commit
77e1bd7edd
2 changed files with 9 additions and 0 deletions
  1. BIN
      cheat-sheets/vim/vim.pdf
  2. 9 0
      cheat-sheets/vim/vim.tex

BIN
cheat-sheets/vim/vim.pdf


+ 9 - 0
cheat-sheets/vim/vim.tex

@@ -46,6 +46,15 @@
 \keys{e}    & Move to the end of the word \\
 \keys{e}    & Move to the end of the word \\
 \end{tabular}
 \end{tabular}
 
 
+\section{Cut and paste}
+\begin{enumerate}
+    \item Position the cursor where you want to begin cutting
+    \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 to where you would like to paste
+    \item Press \keys{p} to paste after the cursor, or \keys{P} to paste before
+\end{enumerate}
 
 
 \end{multicols}
 \end{multicols}
 \end{document}
 \end{document}