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

Wrapping long lines #623

Closed
sparrisable opened this issue Aug 19, 2021 · 6 comments
Closed

Wrapping long lines #623

sparrisable opened this issue Aug 19, 2021 · 6 comments
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements R-duplicate Duplicated issue: please refer to the linked issue

Comments

@sparrisable
Copy link

Is it possible to wrap long lines in helix? (something like "Toggle Word Wrap Alt+Z editor.action.toggleWordWrap" in Visual Studio Code)
If not, I would use such a feature if you decide to add it.

@sparrisable sparrisable added the C-enhancement Category: Improvements label Aug 19, 2021
@archseer
Copy link
Member

Kind of cool but kakoune wraps text by piping to the Unix fmt utility: https://github.com/mawww/kakoune/wiki/Wrapping#semi-automatically-breaking-lines-at-a-fixed-width

@archseer
Copy link
Member

I think we can implement it as a native command. It should support detecting and wrapping comments correctly.

@cessen
Copy link
Contributor

cessen commented Aug 19, 2021

This is talking about hard wrapping, not soft wrapping (issue #136 already exists for that), right? It's not immediately clear to me from the description.

@sparrisable
Copy link
Author

I realize now that I actually mean soft wrapping but I did not realize that there where already an issue for that, sorry.
I am happy to see that issue #136 already exists, sorry for the confusion.

@kirawi kirawi added the A-helix-term Area: Helix term improvements label Aug 19, 2021
@cessen
Copy link
Contributor

cessen commented Aug 19, 2021

@sparrisable: no worries! I'll close this as duplicate then.

I think I'll open another issue for a "hard-wrap selected text" feature, though. Because I think that would also be useful, and is a lot smaller-scope than soft wrapping.

@cessen cessen added the R-duplicate Duplicated issue: please refer to the linked issue label Aug 19, 2021
@cessen cessen closed this as completed Aug 19, 2021
@cessen
Copy link
Contributor

cessen commented Aug 19, 2021

Here's the new issue for hard-wrapping: #625

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

4 participants