Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Depending on nature of the text, sometimes line wrapping is convenient, sometimes it is just confusing. And every time I need to switch this (pretty frequently) I have to do to View - Preferences - Enable text wrapping - Close - four clicks, not mentioning all the hand, eye and thought motion. Can this be done a quicker way? Most of text editors have this two clicks away (in a menu) at maximum, some have it on a toolbar or a hot key, but I couldn't find any quick way in Gedit. :-( Maybe there is a hot key I don't know?

share|improve this question
You could leave the preferences window open while you edit or alt+e>e>alt+w works too. – user78485 Jul 21 '12 at 21:57
up vote 8 down vote accepted

Have a look at this Text-Wrap-Plugin:

I have not tested it myself, but it may serve yout needs.

share|improve this answer
Does it work in Gedit 3.10 versions? I tried to install it under ~/.local/share/gedit/plugins and gedit doesn't pick it up. – htellez Dec 28 '15 at 23:08

Edit -> Preferences

under the view tab check enable text wrapping

enter image description here

share|improve this answer
This is the method that was presented in the question - the OP was looking for an alternative to this method. – Oskar Berggren May 11 '15 at 11:53
Using built-in keyboard shortcuts for this would be: alt+e, e, alt+w ;) – Anonsage Aug 20 '15 at 19:04

There is no such shortcut that I know of, and the gedit documentation confirms it.

There is a way in Gnome to add your own shortcuts, but it is meant for menu options. I don't think it will work with a function which is activated by checking a checkbox in the preferences. If you still want to try it, follow this:

Activate this feature

    * Run gconf-editor and go to /desktop/gnome/interface/
    * Check the 'can_change_accels' option
    * no need to restart anything, just close gconf-editor

Change menu shortcuts in your apps

    * Start your application : Shotwell here
    * Place your mouse on the menu you want to change
    * Press the key combination : you'll see your shortcut appear in the menu

(Instruction written by Bubblegum)

share|improve this answer

For gEdit v3

Use the Text Wrap plugin on :

Text Wrap
A remake of the Text Wrap plugin from gedit 2. I changed the name to toggletextwrap because it seems textwrap is already in the name space somehow. Files: toggletextwrap.plugin and

Install it using @fossfreedom's instructions on How do I install a plugin for gEdit v3?, specifically this answer.

share|improve this answer
Eesh. Somehow I downvoted this. I definitely didn't mean to. And I did it too long ago to fix? Meanwhile, all links are broken. – Amanda Mar 1 '14 at 3:12

In gedit 3.18 text wrapping can be turned on and off from the status bar.

enter image description here

share|improve this answer

Your Answer


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.