- C-o
- Insert a blank line after the cursor (
open-line
). - C-x C-o
- Delete all but one of many consecutive blank lines (
delete-blank-lines
).
M + l to change to lowercase all the letters from the cursor to the end of the word
M + u convert to upper case
- M + c capitalizes first letter.
Deletion means erasing text and not saving it in the kill ring. For the most part, the Emacs commands that delete text are those that erase just one character or only whitespace.
C-d
Delete next character (delete-char).
Delete previous character (delete-backward-char).
M-\
Delete spaces and tabs around point (delete-horizontal-space).
M-
Delete spaces and tabs around point, leaving one space (just-one-space).
C-x C-o
Delete blank lines around the current line (delete-blank-lines).
M-^
Join two lines by deleting the intervening newline, along with any indentation following it (delete-indentation).