Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Word wrap in gedit

I am using gedit & I have a very huge line and I am not able to see that complete line because gedit gets stucking.
so, I wanted to do word wrapping in gedit.
I searched but I didnt found word wrap option in gedit.

How I can do wrapping in gedit?

like image 204
sam Avatar asked Apr 27 '12 05:04

sam


1 Answers

Check in the status menu in the lower bottom corner of the Gedit window.

screenshotgedit

If you want to do it in a as per-file basis, you can use modelines https://help.gnome.org/users/gedit/stable/gedit-plugins-modelines.html.en.

For example have a comment in the first line of your text file. In this case, autowrap:nil will suppress text wrapping.

// -*-indent-tabs-mode:t;c-basic-offset:4;tab-width:4;autowrap:nil;-*-
like image 126
alfC Avatar answered Jan 22 '23 11:01

alfC