Tip: #960 - Copy an Entire Buffer to the Clipboard
Created: July 20, 2005 7:08 Complexity: basic Author: Ivan Tishchenko Version: 5.7 Karma: 65/35 Imported from: Tip#960
There are a number of ways of copying the entire contents of a file to the clipboard. These include:
Normal Mode
gg"+yG
Ex Mode
:%y+
Visual Mode
ggVG"*y
Windows Specific (with Windows key bindings in effect)
ggVG<c-ins> <C-A><C-C<
Macintosh Specific
<Cmd-A><Cmd-C>