• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

auto-fold

Automatically folds the editor on specified rows
  • #fold
  • #productivity
MackieLoeffel
0.4.0 5,111
8
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Auto Fold package

Fold (and unfold) marked places in a opened file with a single keypress.

Screenshot

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.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by