Killing And Yanking
-
kill-line (C-k)
-
Kill the text from point to the end of the line. With a negative numeric argument, kill backward from the cursor to the beginning of the current line.
-
backward-kill-line (C-x Rubout)
-
Kill backward from the cursor to the beginning of the current line. With a negative numeric argument, kill forward from the cursor to the end of the current line.
-
unix-line-discard (C-u)
-
Kill backward from the cursor to the beginning of the current line.
-
kill-whole-line ()
-
Kill all characters on the current line, no matter where point is. By default, this is unbound.
-
kill-word (M-d)
-
Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as
forward-word
. -
backward-kill-word (M-DEL)
-
Kill the word behind point. Word boundaries are the same as
backward-word
. -
shell-kill-word (M-C-d)
-
Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as
shell-forward-word
. -
shell-backward-kill-word ()
-
Kill the word behind point. Word boundaries are the same as
shell-backward-word
. -
shell-transpose-words (M-C-t)
-
Drag the word before point past the word after point, moving point past that word as well. If the insertion point is at the end of the line, this transposes the last two words on the line. Word boundaries are the same as
shell-forward-word
andshell-backward-word
. -
unix-word-rubout (C-w)
-
Kill the word behind point, using white space as a word boundary. The killed text is saved on the kill-ring.
-
unix-filename-rubout ()
-
Kill the word behind point, using white space and the slash character as the word boundaries. The killed text is saved on the kill-ring.
-
delete-horizontal-space ()
-
Delete all spaces and tabs around point. By default, this is unbound.
-
kill-region ()
-
Kill the text in the current region. By default, this command is unbound.
-
copy-region-as-kill ()
-
Copy the text in the region to the kill buffer, so it can be yanked right away. By default, this command is unbound.
-
copy-backward-word ()
-
Copy the word before point to the kill buffer. The word boundaries are the same as
backward-word
. By default, this command is unbound. -
copy-forward-word ()
-
Copy the word following point to the kill buffer. The word boundaries are the same as
forward-word
. By default, this command is unbound. -
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
oryank-pop
.
Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.
https://www.gnu.org/software/bash/manual/html_node/Commands-For-Killing.html