Next: , Previous: , Up: Modification Commands   [Contents][Index]


2.3.4 Kill Ring Manipulation

Command: Un-Kill (bound to C-y)

This command "yanks" back the most recently killed piece of text, leaving the mark before the inserted text and the point after. If a prefix argument is supplied, then the text that distance back in the kill ring is yanked.

Command: Rotate Kill Ring (bound to M-y)

This command rotates the kill ring forward, replacing the most recently yanked text with the next most recent text in the kill ring. M-y may only be used immediately after a use of C-y or a previous use of M-y. This command is used to step back through the text in the kill ring if the desired text was not the most recently killed, and thus could not be retrieved directly with a C-y. If a prefix argument is supplied, then the kill ring is rotated that many times.

Command: Kill Region (bound to C-w)

This command kills the text between the point and mark, pushing it onto the kill ring. This command is usually the best way to move or remove large quantities of text.

Command: Save Region (bound to M-w)

This command pushes the text in the region on the kill ring, but doesn’t actually kill it, giving an effect similar to typing C-w C-y. This command is useful for duplicating large pieces of text.


Next: Killing Commands, Previous: Killing and Deleting, Up: Modification Commands   [Contents][Index]