Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mackieloeffel/atom-auto-fold
Atom package for folding
https://github.com/mackieloeffel/atom-auto-fold
atom
Last synced: 22 days ago
JSON representation
Atom package for folding
- Host: GitHub
- URL: https://github.com/mackieloeffel/atom-auto-fold
- Owner: MackieLoeffel
- License: mit
- Created: 2015-08-16T21:11:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-16T17:14:01.000Z (almost 8 years ago)
- Last Synced: 2023-03-23T09:22:33.288Z (almost 2 years ago)
- Topics: atom
- Language: CoffeeScript
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Auto Fold package
Fold (and unfold) marked places in a opened file with a single keypress.
![Screenshot](https://mackieloeffel.github.io/auto-fold.gif)
Keybindings:
* `alt-a` toggles the fold in the current file## Markers
Markers tell this package, where it should fold. The following markers are available:
* `@auto-fold here`: Marks the next line for folding.
* must be on a commented line.
* `@auto-fold regex /regex1/ /regex2/ ...`: marks all lines, which match the specified regexes
* must be on the first commented line in the file.
* You can also define global regexes via the settings.