Re: [code] textadept-curses line wrap

From: Mitchell <>
Date: Fri, 24 Mar 2017 14:15:34 -0400 (EDT)

Hi Carl,

On Thu, 23 Mar 2017, Carl Sturtivant wrote:

> Hello,
> What should I put in init.lua to have this turned on by default? And how do I
> toggle it?

In *~/.textadept/properties.lua* put:

   buffer.wrap_mode = buffer.WRAP_WHITESPACE

(*properties.lua* applies to all buffers, while *init.lua* only applies to
the statup one.)

By default the terminal version does not have a keybinding for toggling
wrap mode. Assign one in *~/.textadept/init.lua* to:

     local toggle = buffer.wrap_mode == 0 and buffer.WRAP_WHITESPACE or 0
     buffer.wrap_mode = toggle


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 24 Mar 2017 - 14:15:34 EDT

This archive was generated by hypermail 2.2.0 : Sat 25 Mar 2017 - 06:28:33 EDT