浏览代码

added cut and paste

Martin Thoma 12 年之前
父节点
当前提交
77e1bd7edd
共有 2 个文件被更改,包括 9 次插入0 次删除
  1. 二进制
      cheat-sheets/vim/vim.pdf
  2. 9 0
      cheat-sheets/vim/vim.tex

二进制
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 \\
 \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{document}