Skip to content

An intelligent text-wrapping module for Textadept

License

Notifications You must be signed in to change notification settings

nenofite/wraptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wraptor

Wraptor brings intelligent text-wrapping to Textadept.

Installation

Clone this repository into the directory ~/.textadept/modules/ to install the module:

cd ~/.textadept/modules
git clone https://github.com/nenofite/wraptor.git

To activate, add these lines to your ~/.textadept/init.lua file:

wraptor = require 'wraptor'

-- Make Ctrl+G wrap the current selection.
keys.cg = wraptor.wrap_selection

Substitute keys.cg with whatever key combination you prefer.

Customization

To change the maximum line length used when wrapping text (often referred to as the wrap width) set the field wraptor.max_line_length. The default is 80.

About

An intelligent text-wrapping module for Textadept

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages