code icon indicating copy to clipboard operation
code copied to clipboard

Hard line wrap

Open elementaryBot opened this issue 8 years ago • 4 comments
trafficstars

In vim, you can use ":set textwidth=100" to have an automatic line break when your current word exceed the 100th character. It is useful when you make latex documents, you don't have to worry about line break.

It might be doable via a plugin.

Launchpad Details: #LP883835 xapantu - 2011-10-30 13:06:41 +0000

elementaryBot avatar May 04 '17 15:05 elementaryBot

Perhaps tie it in with Automatic Indent.

Launchpad Details: #LPC Christian Dywan - 2012-03-24 14:35:01 +0000

elementaryBot avatar May 04 '17 15:05 elementaryBot

Does Bug #1236739, "Enabling 'wrap text' does not break lines at word boundary", duplicate this bug?

They look related, at least.

Launchpad Details: #LPC dajare - 2013-10-31 08:55:19 +0000

elementaryBot avatar May 04 '17 15:05 elementaryBot

So this looks like it's effectively a "hard" line wrap, where the editor inserts a newline instead of just visually wrapping. Atom has something similar.

cassidyjames avatar Sep 27 '19 22:09 cassidyjames

We have a vim emulation plugin so maybe could be implemented there.

jeremypw avatar Jun 17 '25 14:06 jeremypw