Automatically hard wrap lines


#1

I did a quick search on the forum on line wrap, and all of which are about “soft wrap”.

However, one feature I like and setup in vim when dealing with markdown or text etc. is hard wrap. More specifically, automatically hard wrapping lines at 80 characters. If later edit changes the particular line, the paragraph can be reformatted with a keybinding say ESC-q.

Is this something possible in Atom, if not, is there enough interest for this to be on the roadmap? Thanks

Oliver


I can't find a way to enable word-wrap
#2

There is a default package called autoflow that offers this, but it is only manually triggered. One of the projects that I want to (someday :blush:) make time for is to give it an option to be triggered on certain text changed events (like inserting a space). I also would love to make it work like I’ve heard Emacs autoflow can where it would only autoflow comments in code files.

But that’s after my ten other projects …


#3

Here is a great new project to do hard wraps at a particular line length. It doesn’t “automatically” hard-wrap though, you have to initiate it with a keybinding.


#4

This is must-have feature. I don’t know why this is not supported.

Okay. imagine that you are typing a long sentence. And then you realized that you mistyped one word in the sentence. We need to move your cursor in the middle of long multiple lines. If hard wrap is not working, you need to move your cursor by words from wherever your cursor is on in the sentence. This is annoying.


#5

leedohm this is probably the greatest gif I’ve seen on a forum