From ebb7e869b0c24f406c2dd42fbba29605bf5bd7e1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 12 Apr 2018 00:05:48 -0400 Subject: [PATCH] Update vim.md --- help/vim.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/help/vim.md b/help/vim.md index 6ee0b49e..eb04afc8 100644 --- a/help/vim.md +++ b/help/vim.md @@ -129,6 +129,8 @@ Note that `ci` and `ca` work for pretty much anything, including ` Note that text deleted is also copied into vim's hidden buffer. There is no need for a "cut" command since copying things is handled automatically by vim. +**NOTE**: If you want to copy all lines in a file to the clipboard, use: `:%y+` + Repeat the last operation with `.`. This is really powerful when you want to perform the same action multiple times. If you want to repeat the last operation on multiple lines, simply press `` to enter visual block mode, select the lines you want to operate on, then execute `.` on them.