If you press DEL i.e. the delete key, it will delete the
character before the cursor (
This will delete the character after the cursor (
Kill to the end of the line (
kill-line). If you kill the line by
mistake you can yank or ‘paste’ it back by typing
C-y. See Moving Text, for more information on yanking.
Kill forward to the end of the next word (
Kill back to the beginning of the previous word
Kill to the end of current sentence (
Kill up to next occurrence of char (
zap-to-char). To use
this command type M-z. You will see the following statement in the
echo area :
Zap to char:
Type any char and press the RET key. For example, if you type ‘p’ then the entire text starting from the position of the cursor until the first occurrence of ‘p’ is killed.