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 paste the text contained in the buffer above (uppercase P) or below the current cursor position (lowercase p), respectively:
P
p
It is also possible to yank text within a line. The following commands yank text from the current cursor position to the end of the word and the end of the line, respectively:
yw
y$
The same commands paste the text within a line. Lower case p pastes after the cursor position and upper case P pastes before.
Paste will also work with deleted text, either lines or parts of lines. Be careful not to execute any other commands prior to pasting as this will empty the buffer.
You use the 'yank' and 'put' commands. You 'yank' the lines into a buffer (named a - z) and then go to the place where you want to paste or duplicate them, and use the 'put' command to insert them. You can also read entire files or portions of files with the 'r' command to paste contents into other files.
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:Y2Y10YyGTo paste the text contained in the buffer above (uppercase P) or below the current cursor position (lowercase p), respectively:PpIt is also possible to yank text within a line. The following commands yank text from the current cursor position to the end of the word and the end of the line, respectively:ywy$The same commands paste the text within a line. Lower case p pastes after the cursor position and upper case P pastes before.Paste will also work with deleted text, either lines or parts of lines. Be careful not to execute any other commands prior to pasting as this will empty the buffer.
The 'yank' and 'put' commands are used to copy and paste lines in a file using 'vi'. Each series of lines that are yanked can be put into a named (or unamed) buffer from a to z and then pasted in the appropriate place in the file. To actually do this procedure takes more than a simple answer so it is suggested that you search using a internet search engine for examples of how to do that or use the 'man vi' command to see the exact procedure in 'vi'.
You cannot crank a yank on a girl because they have no "crank" to yank.
Fighting Yank was created in 1941.
A Yank at Eton was created in 1942.
Yank Crime was created in 1994.
A Yank in Australia was created in 1942.
A Yank in Ermine was created in 1955.
Yank Azman is 5' 9".
Yank - Automobile - was created in 1950.
Yank Porter died in 1944.