304 Chapter 29. Command Line Editingtranspose-chars (C-t)Drag the character before the cursor forward over the character at the cursor, moving the cursorforward as well. If the insertion point is at the end of the line, then this transposes the last twocharacters of the line. Negative arguments have no effect.transpose-words (M-t)Drag the word before point past the word after point, moving point past that word as well. If theinsertion point is at the end of the line, this transposes the last two words on the line.upcase-word (M-u)Uppercase the current (or following) word. With a negative argument, uppercase the previousword, but do not move the cursor.downcase-word (M-l)Lowercase the current (or following) word. With a negative argument, lowercase the previousword, but do not move the cursor.capitalize-word (M-c)Capitalize the current (or following) word. With a negative argument, capitalize the previousword, but do not move the cursor.overwrite-mode ()Toggle overwrite mode. With an explicit positive numeric argument, switches to overwrite mode.With an explicit non-positive numeric argument, switches to insert mode. This command affectsonly emacs mode; vi mode does overwrite differently. Each call to readline() starts in insertmode.In overwrite mode, characters bound to self-insert replace the text at point rather than push-ing the text to the right. Characters bound to backward-delete-char replace the characterbefore point with a space.By default, this command is unbound.29.4.4. Killing And Yankingkill-line (C-k)Kill the text from point to the end of the line.backward-kill-line (C-x Rubout)Kill backward to the beginning of the 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.