Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUGGESTION] Char/Line-based Resize #272

Open
NullPlane opened this issue Apr 27, 2024 · 2 comments
Open

[SUGGESTION] Char/Line-based Resize #272

NullPlane opened this issue Apr 27, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@NullPlane
Copy link

A resize option available in the command prompt > or as a bindable keeb shortcut,
that lets us set up a resize option to x chars. Once set, we have an option to resize
to set margins and it will try to resize the window such, that exactly n chars fit into
the window with an addition for the minimap if activated.

I don't know how well this may be achieved but it clearly sounds nice.

Finally similar feature could be useful for lines.
At least I have never seen that before in any other editor.

@SpartanJ
Copy link
Owner

Do you mean to resize the window to the editor contents (plus the rest of the elements)? I also can't think the use case of this one. What would it be?

@NullPlane NullPlane changed the title [FEATURE-REQUEST] Char/Line-based Resize [SUGGESTION] Char/Line-based Resize Apr 30, 2024
@NullPlane
Copy link
Author

If there is a set line length one may use by style, the exact resizing allows for
automatically fitting the window for screen space if anything else is opened
in parallel. It is not an important feature but the concept sounded interesting.

Maybe a size input is overkill but I think if there is a single command list entry
to resize to the linebreak column (if it is even set), this might be some kind of
a nice qol addition.

Also a minor feature but I think some day it is a unique touch of a feature that
some people might enjoy.

@SpartanJ SpartanJ self-assigned this May 1, 2024
@SpartanJ SpartanJ added the enhancement New feature or request label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants