Skip to content

Define multiple line lengths in settings and cycle through them with multiple hotkey presses #56

@dagood

Description

@dagood

The situation I'm in is that I have code comments where some are wrapped to 100 columns and others are wrapped to 80 columns. Both lengths show up in the same project. I want to add some text to a comment and re-wrap it, but if my line length override isn't set up to match the comment I happen to be changing at that time, I can't do it using this plugin without going back to the settings. 🙁 I end up wrapping manually sometimes.

I'm used to the way VS Code plugin Rewrap handles this: https://stkb.github.io/Rewrap/configuration/#wrapping-column. There, I can define multiple "rulers" (right margins, or visual guides) and swap between them by pressing the wrap hotkey multiple times. Then it remembers the "current" margin for that file for the next time I press the hotkey.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions