Wraptor brings intelligent text-wrapping to Textadept.
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.
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.