Post

1 Text filling and reformatting commands

KeystrokesCommand nameAction
(none)refill-modeToggle refill mode, in which Emacs automatically reformats text.
(none)Options Word Wrap in Text Modesauto-fill-modeToggle auto-fill mode, in which Emacs formats paragraphs as you type them.
M-qfill-paragraphReformat paragraph.
(none)Edit Fillfill-regionReformat individual paragraphs within a region.

Remember that (none) in the first column means that you type M-x followed by the command name in the second column, then press Enter to run the command. There are no default keystrokes. To use the refill-mode command, type M-x refill-mode Enter.

This post is licensed under CC BY 4.0 by the author.