Skip to content

remcohaszing/gedit-wraptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gedit-wraptor

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.

Installing

Automatically:

Run:

./install.sh

Manually:

  • Copy wraptor.plugin and wraptor.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 editPreferencesPlugins and checking Wraptor

Configuration

Configuration will be stored in $XDG_CONFIG_HOME/gedit-wraptor/

The plugin can be configured by navigating to editPreferencesPlugins, 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.

About

Wrap lines for some languages

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project