Add icon toggle for textwrap in gedit

tacoz
  8 years ago
  1

The problem
It's a minor schlep having to switch on or off the text wrap via gedit's preferences... it would've been easier if gedit at an icon to toggle it rather. 

A solution
There are documented solutions but for this specific plugin, on the author's [Christian Hartmann] site where you can download either the plugins or archive from.
 
Steps
1.  either download the archive or just TextWrap.py and TextWrap.gedit-plugin
 
2.  if you got the archive, then unpack it... either with the gui or
  tar -xf TextWrap-Gedit-Plugin-0.2.1.tar.gz
 
3.  if a gedit plugins directory [~/.gnome2/gedit/plugins/] does not exist then create it
 
4.  copy TextWrap.py and TextWrap.gedit-plugin to that gedit plugin directory
  cp TextWrap.py TextWrap.gedit-plugin ~/.gnome2/gedit/plugins/
 
5.  and then activate the plugin via gedit's Preferences | Plugin tab
  
Comments
Qruqs 8 years ago

Even better would have been if they added it as an option to the View menu, like in so many other programs, considering they added it to the "View" pane on the dialog.

Then again, there is the key combination "Alt-E, E, Alt-W, Alt-C" don't know if I would refer to it as a "shortcut." :D