(Fix typo) |
(ggVGy to ex mode added (by dum8d0g)) |
||
Line 1: | Line 1: | ||
+ | |||
⚫ | |||
⚫ | |||
{{Tip |
{{Tip |
||
|id=960 |
|id=960 |
||
Line 14: | Line 13: | ||
'''Normal Mode''' |
'''Normal Mode''' |
||
gg"+yG |
gg"+yG |
||
+ | |||
+ | or |
||
+ | |||
+ | ggVGy |
||
'''Ex Mode''' |
'''Ex Mode''' |
||
Line 33: | Line 36: | ||
*{{help|registers}} |
*{{help|registers}} |
||
}} |
}} |
||
+ | |||
+ | |||
⚫ | |||
+ | |||
⚫ |
Revision as of 16:55, 22 September 2007
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
or
ggVGy
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>