Go to the previous, next section.

Killing And Yanking

kill-line (C-k)
Kill the text from the current cursor position to the end of the line.

backward-kill-line ()
Kill backward to the beginning of the line. This is normally unbound.

kill-word (M-d)
Kill from the cursor to the end of the current word, or if between words, to the end of the next word.

backward-kill-word (M-DEL)
Kill the word behind the cursor.

unix-line-discard (C-u)
Do what C-u used to do in Unix line input. We save the killed text on the kill-ring, though.

unix-word-rubout (C-w)
Do what C-w used to do in Unix line input. The killed text is saved on the kill-ring. This is different than backward-kill-word because the word boundaries differ.

yank (C-y)
Yank the top of the kill ring into the buffer at point.

yank-pop (M-y)
Rotate the kill-ring, and yank the new top. You can only do this if the prior command is yank or yank-pop.

Go to the previous, next section.