autoflow2
Format the current selection to have lines no longer than 80 characters. This package handles very long words (like URLs) better than Autoflow.
Autoflow2 package
Format the current selection to have lines no longer than 80 characters using cmd-alt-q
on macOS and ctrl-shift-q
on Windows and Linux. If nothing is selected, the current paragraph will be reflowed.
This package uses the config value of editor.preferredLineLength
when set to determine desired line length.
Unlike the bundled autoflow package, this package offers multiple reflow algorithms, check the settings.
Example
The example is from the https://github.com/walles/flickr-uploader#building README.
Rebasing on top of upstream
- Rebase
rebase-me-on-upstream-master
atop the updated autoflowmaster
- Rebase
master
atoprebase-me-on-upstream-master
TODO
DONE
- Set up appveyor CI
- Set up Travis CI
- Change the name to autoflow2
- Make avoid-short-lines the default algorithm
- README: Add example comparing reflow results with upstream
- Make a release