Solved Terminal Text Wrapping

Solved issue

MzQ1NjExN2

Member
Joined
Jul 10, 2024
Messages
48
Reaction score
22
Credits
419
I've recently been starting to use vim and I wanted to use it to read ebooks and probably use it for my notes/documentation instead of Libre Office Writer. An issue I am having is that while my linux terminal does do text wrapping it cuts off words and continues them on the next line:
I use De
bian 12.

Whereas in something like mousepad (XFCE's text editor) it will read like this:
I use Debian
12.

Is there anyway to get the terminal to do neat text wrapping? I looked through all the options in the terminal preferences and could not find any options to change the way the text wraps. By the way I use XFCE terminal but I tried a few other terminals like LXDE terminal and its the same issue. Any feedback would be great. Thanks.
 


on Mousepad go to Edit-Preferences-on the view tab put a check mark in Wrap long lines
Xfce Terminal go to Terminal - Find and put a check mark in Wrap around
for Vim I believe you have to use Linebreak see here
 
on Mousepad go to Edit-Preferences-on the view tab put a check mark in Wrap long lines
Xfce Terminal go to Terminal - Find and put a check mark in Wrap around
for Vim I believe you have to use Linebreak see here
Well that did it. I added lbr by typing :set lbr in non insert mode and now the text is neatly wrapped and readable. Thanks for the help!
 


Members online


Top