Textredux

Textredux is a module for the Textadept editor that offers text-based interfaces for core Textadept functionality.

Features

Installation

The Textredux module itself can be downloaded from the releases page or by getting the latest version on master as a zip file.

To install the module, just unpack the module into the

~/.textadept/modules/textredux

directory. Alternatively you can clone Textredux into it:

cd ~/.textadept/modules
git clone https://github.com/rgieseke/textredux.git

Usage

Having installed the module, there are two ways you can use it. Note that due to Textredux re-using colors defined in your theme file, loading Textredux should happen after a custom theme is set using ui.set_theme in your init.lua.

1) Cherrypick the functionality you want from the different modules by assigning key bindings to the desired functions. As an example, if you would like to use the text based file browser and normally open files using Ctrl-O, then the following code in your init.lua would do the trick:

textredux = require 'textredux'
keys.co = textredux.fs.open_file

2) If you can’t get enough of text based interfaces and the joy they provide, then the Textredux hijack function is for you. Simple place this in your init.lua:

require('textredux').hijack()

As the name suggest, Textredux has now hijacked your environment. All your regular key bindings should now use Textredux where applicable. Clicking the menu will still open the standard GUI dialogs.

Regardless of the approach chosen, the module documentation contains more in-depth documentation for the various modules, including customization tips.

Also, make sure to take a brief look at the screen shots for some quick tips on using Textredux.

Code

Textredux is released under the MIT license (see the LICENSE file in the source for the full details). The source code is available from GitHub. It was written by Nils Nordman and is now maintained by Robert Gieseke.

Contribute

Any feedback, be it patches, feature request or bug reports is most welcome.

If you want to provide patches, the preferred way of doing so would be as a pull request via GitHub, or as a pull request from some other Git server. Should that not be an option patches are gladly accepted through other means as well.

If you have any bug reports or feature requests, please submit them to the Github issue tracker or send an email to Textadept’s mailing list.

Changelog

1.1 (2016-02-25)

1.0.3 (2014-09-08)

1.0.2 (2014-08-15)

1.0.1 (2014-06-27)

1.0.0 (2014-06-24)

0.11 (2014-03-04)

0.10 (2013-10-29)

0.9 (2013-10-01)

0.8 (2013-07-11)

0.7 (2013-07-02)

0.6 (2013-06-08)

0.5 (2013-05-02)

0.4 (2013-03-05)

0.3 (2012-11-28)

0.2 (2012-03-08)

0.1 (2012-01-20)

First public release.