Micro: Soft Wrap

Created on 18 Apr 2016  路  7Comments  路  Source: zyedidia/micro

Any chance that a soft wrap feature would be made available?

enhancement in progress

Most helpful comment

Soft wrapping has finally been added! Use set softwrap on to enable it.

All 7 comments

Yes this is a planned feature.

I think this feature is really needed - as I just tried micro (really like it), the first thing needed while reading the help info (within the terminal of course) is long line that's hidden by the terminal window.

Could it be as simple as:

  1. If cursor crosses position Y, run a wordwrap algorithm
  2. Split the current line at the position of the first word in the new paragraph
  3. Move the cursor to the end of the first word in the newly inserted line

I was playing with this but having trouble with step 3, I can't seem to move the cursor correctly.

Soft wrapping has finally been added! Use set softwrap on to enable it.

@zyedidia Has softwrap broken? Because it doesn't seem to work from what I can tell.

Everything else is so great but softwrapping is really important for readable code!

Yes, it just does not work

@akimkelar Did it break or what?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ns-cweber picture ns-cweber  路  4Comments

aerth picture aerth  路  4Comments

Rbagman picture Rbagman  路  4Comments

rizal72 picture rizal72  路  3Comments

GeigerCounter picture GeigerCounter  路  3Comments