Textadept describes itself as a "a fast, minimalist, and remarkably extensible cross-platform text editor". With a very lightweight code base written in C, it relies on Lua for its extensibility. The editor works both in a graphical (GTK2) and in a CLI environment (Curses).
Install AUR. It features 2 executables:AUR from the
The curses version runs in a CLI environment.
On first start, Textadept will create a
~/.textadept folder. You can edit
~/.textadept/init.lua to start customizing the editor. From there you can define new functions, key bindings, themes, and even modules, as explained in the manual and the API.
By default, Textadept features modules for its core only, that is ANSI C, Lua and itself, however the AUR package also embeds some of the official modules.
Some more modules are found in the AUR:
- Textredux is available as AUR[broken link: package not found]
- Textadept common is available as AUR[broken link: package not found]
You will need to enable these modules in your
init.lua file as explained in the upstream documentation.
More contributed modules and functions are listed in the wiki.
Another convenient way to install modules is by cloning the repository in
~/.textadept/modules. For instance you can fetch textadept-vi from there:
$ cd ~/.textadept/modules $ git clone https://github.com/jugglerchris/textadept-vi.git
You can easily keep up to date all your modules with version control tools.