News for hackers. Stuff that matters.
Re:A lightweight, simple, fast, feature-filled, text editor ... by aethy on Tuesday December 27, 2022 @05:01PM (#34154457)
Yes; F10 enables word wrap. It's a plugin included in the core.
Re:A lightweight, simple, fast, feature-filled, text editor ... by vouaobrasil on Tuesday December 27, 2022 @05:08PM (#34154511)
Thanks a lot!

Edit: just tried it, it works. But unfortunately it only wraps on character, so it won't work for me now. As a writer I was looking for something more lightweight than VS code, and Lite XL looks promising. I'll keep an eye on it.

Re:A lightweight, simple, fast, feature-filled, text editor ... by aethy on Tuesday December 27, 2022 @05:19PM (#34154632)
This is configurable. I use it in my android fork that I use for creative writing, `write-xl` (in case you're interested, here: https://github.com/adamharrison/write-xl ; not really ready for public consumption). You can set the word wrapping configuration via your user plugin by doing:

config.plugins.linewrapping.mode = "word"

The full list of options is here: https://github.com/lite-xl/lite-xl/blob/master/data/plugins/...

Re:A lightweight, simple, fast, feature-filled, text editor ... by vouaobrasil on Tuesday December 27, 2022 @06:02PM (#34155050)
Thanks so much! FWIW, I actually tried looking for how to do that but couldn't find it. It's cool that there are so many knowledgeable people here :D
Re:A lightweight, simple, fast, feature-filled, text editor ... by aethy on Tuesday December 27, 2022 @06:05PM (#34155084)
If you want a bit better discoverability; you may want to try the `addons` release; it comes with a settings plugin that lays out all the settings in GUI so you don't have to go through digging through the source. Could be helpful if you just wanna poke around.