Is there a way to configure the word boundary character used for word-wrap like breakat option of vim? The documentation says "When word-wrapping is on, continuation lines are wrapped at the space or tab character nearest to the right window edge". Wrapping at whitespace looks ugly when the text contains a long url.
Asked
Active
Viewed 83 times
2
Blank_
- 25
- 3
word-wrapis non-nil. This is built directly into the display engine withinxdisp.c. If anyone is interested in seeing some of the code responsible for this behavior, grep for things such asword_wrap,line_wrap,IT_DISPLAYING_WHITESPACE, and the like. – lawlist Feb 08 '20 at 16:34IT_DISPLAYING_WHITESPACEtostrchr(" \t!@*-+;:,./?", it->c)and it works as expected. – Blank_ Feb 08 '20 at 19:25