This is a plugin for gedit which allows wrapping lines in some languages even if text wrapping is disabled. This may be useful for languages such as Markdown or ReStructuredText where text wrapping may be useful, while it is mostly annoying for programming languages.
Automatically:
Run:
./install.sh
Manually:
- Copy
wraptor.plugin
andwraptor.py
to$XDG_DATA_HOME/gedit/plugins
. This defaults to~/.local/share/gedit/plugins
. - The plugin can now be enabled in gedit by navigating to
edit
→Preferences
→Plugins
and checkingWraptor
Configuration will be stored in $XDG_CONFIG_HOME/gedit-wraptor/
The plugin can be configured by navigating to edit
→ Preferences
→ Plugins
, select Wraptor
and click Preferences
. The languages in the most left column are always wrapped. These are saved to whitelist.json
. The languages in the most right column are never wrapped. These are saved to blacklist.json
.