3 ms·
Yes; F10 enables word wrap. It's a plugin included in the core.
by aethy 4y ago
Yes; F10 enables word wrap. It's a plugin included in the core.
- vouaobrasil 4y agoThanks 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.
- aethy 4y agoThis 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 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/linewrapping.lua#L13-L25 https://github.com/lite-xl/lite-xl/blob/master/data/plugins/...
- vouaobrasil 4y agoThanks 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
- aethy 4y agoIf 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.