NOTICE: Since I no longer use Atom as my daily editor, I no longer actively maintain or add features to line-breaker. However, if you submit a Pull Request, I will merge them.
An Atom package for breaking long lines of text at the preferred line length boundary. Able to handle entire documents, commented code, and indented text. See the screenshots below for some examples.
-
Break the selected lines or the current line and preserve indentation:
alt-cmd-enter
on macOSalt-ctrl-enter
on Windows and Linux
-
Break the selected lines or the current line and ignore indentation:
alt-cmd-shift-enter
on macOSalt-ctrl-shift-enter
on Windows and Linux
Breaking a collection of paragraphs:
Breaking variably indented paragraphs
Building a paragraph from incongruous lines:
- Fixes a breaking bug when breaking lines (issue #5)
- Now retains paragraphs when multiple are selected
- New binding to break and ignore the indentation level
alt-cmd-shift-enter
- New GIFs in the README to show the various capabilities
- Support for block-style comments through Atom's updated capabilities
- Key mappings now compatible with Windows and Linux
- Removed Windows install-breaking text-buffer dependency
- Added
test.txt
which is shown in the animated screenshot containing an excerpt from The Picture of Dorian Grey
- Now compatible with text-buffer 9.x
- Now compatible with the newer
atom.config.get/set
methods
- Breaking comment lines properly
- Improved undo behavior
- The whole shebang.
TODO
- Add unit tests