Russell Bateman wrote:
[...]
There are two ways to copy content to a buffer. y is used to yank a copy of it (essentially leaving the text intact--what Sibin refers to as replacing the text with itself) and d is used to delete that text keeping a copy of it in the buffer. (I'm sorry, when I say buffer here, I'm referring not the larger buffer between Vim and the file, but to a clipboard. I do not myself know the correct terminology that has grown up in the Vim community because I've always been more interested in consumingvi/Vim as a productivity tool than in its development.) And, yes, p for paste after, P for paste before cursor.
[...]

In Vim terminology, "a buffer" contains a whole file loaded in memory for editing, "a register" is what you can yank or delete into, or put from. "The clipboard" is the system clipboard, accessible in Vim as register + , and on non-X systems also as register * .

See ":help registers"


Best regards,
Tony.
--
        Excellence is THE trend of the '80s.  Walk into any shopping
mall bookstore, go to the rack where they keep the best-sellers such as
"Garfield Gets Spayed", and you'll see a half-dozen books telling you
how to be excellent: "In Search of Excellence", "Finding Excellence",
"Grasping Hold of Excellence", "Where to Hide Your Excellence at Night
So the Cleaning Personnel Don't Steal It", etc.
                -- Dave Barry, "In Search of Excellence"

Reply via email to