Atom Packages Directory

a package directory for a text editor of the 21st Century

Magic Reflow

Install with:
    apm install magic-reflow
  

Magic Reflow

Magic Reflow will reflow or rewrap text in a variety of situations, ranging from paragraphs, to comments, to bulleted and ordered lists (of the variety commonly seen in Markdown and the like).

About

It is a replacement for the built-in autoflow package – it handles many of the things that autoflow handles, and a lot more:

…and various combinations of all of the above.

How to Use Magic Reflow

  1. Select the text you want to reflow, or put your cursor in the relevant paragraph.
  2. Hit Alt-Q.

Note that if you use one of the popular Emacs-emulation packages, you may have to add the following to your keymap.cson to make the keybinding work:

'atom-workspace atom-text-editor':
    'alt-q': 'magic-reflow:reflow'

You can also use the “Reflow Selection Magically” context menu option, or the “Edit > Reflow Selection Magically” menu bar option.

Future Work

Keywords: wrap, reflow, rewrap, hard wrap, hard-wrap, format Suggest keywords
Fork me on GitHub