vim select all text and copy?Advertisement
The ability to duplicate text in an editor can be handy. vi and vim have several useful copy and paste commands. The command ‘Y’ or ‘yy’ copies (yanks) one or more lines. To copy one line, two lines, 10 lines, and all lines to the end of the file, respectively: Y 2Y 10Y yG To […] - read more
Is there any way to copy all lines from open file to clipboard in VI editor. I tried yG but its not using clipboard to store those lines. So is it possible? - read more
Please vote if the answer you were given helped you or not, thats the best way to improve our algorithm. You can also submit an answer or check other resources.