Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've been using kwrite for a long time and love the way I can turn on/off line wrapping easily. Now I'm running Ubuntu with gnome, trying to avoid any KDE at all on this particular machine. Gedit seems to always wrap lines with no way to turn it off. Am I missing some well-hidden option?

share|improve this question

2 Answers 2

up vote 8 down vote accepted

Edit > Preferences > View Tab > Text Wrapping options right there, front and center. Not "well hidden" by any means.

share|improve this answer
2  
That seems a bit deep for turning on and off routinely. Kwrite has it immediately available in the menu bar's View. –  DarenW Mar 6 '11 at 4:21
    
It's be nice if there were a hotkey for that. –  DarenW Mar 6 '11 at 15:33
1  
Get the source code and make the change yourself. Great opportunity to learn. :) –  Joshua Mar 7 '11 at 5:34

As of gedit 10.4, there is no preferences dialog anymore. Some of the options are now in the status bar, but not word-wrapping.

You can turn word wrapping off by tweaking the GSettings settings. To do so, run the following command in your terminal:

gsettings set org.gnome.gedit.preferences.editor wrap-mode none

Besides none, you can also turn it back on with either word, char, or word-char word wrapping.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.