diff --git a/cheat-sheets/vim/vim.pdf b/cheat-sheets/vim/vim.pdf index 0343021..450d216 100644 Binary files a/cheat-sheets/vim/vim.pdf and b/cheat-sheets/vim/vim.pdf differ diff --git a/cheat-sheets/vim/vim.tex b/cheat-sheets/vim/vim.tex index 1bd7165..91dab70 100644 --- a/cheat-sheets/vim/vim.tex +++ b/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}