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 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?

  • 2
    You could leave the preferences window open while you edit or alt+e>e>alt+w works too.
    – user78485
    Jul 21, 2012 at 21:57

5 Answers 5


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

enter image description here

  • Great! This works per-file unlike the way using Preferences.
    – Melebius
    Jul 26, 2017 at 7:25
  • 5
    This should be the approved answer.
    – Petrus K.
    Nov 11, 2018 at 19:30

Edit -> Preferences

under the view tab check enable text wrapping

enter image description here

  • 3
    This is the method that was presented in the question - the OP was looking for an alternative to this method. May 11, 2015 at 11:53
  • Using built-in keyboard shortcuts for this would be: alt+e, e, alt+w ;)
    – Anonsage
    Aug 20, 2015 at 19:04

Have a look at this Text-Wrap-Plugin: http://hartmann-it-design.de/gedit/TextWrap/

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

  • 1
    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, 2015 at 23:08

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)


For gEdit v3

Use the Text Wrap plugin on live.gnome.org/Gedit/Plugins/ :

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 toggletextwrap.py

Install it using @fossfreedom's instructions on How do I install a plugin for gEdit v3?, specifically 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, 2014 at 3:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .