Skip to content
David von Tamar edited this page Oct 21, 2022 · 31 revisions
Clone this wiki locally

Welcome to the Textadept wiki.

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers. Written in a combination of C and Lua and relentlessly optimized for speed and minimalism over years, Textadept is an ideal editor for programmers who want endless extensibility without sacrificing speed and disk space, and without succumbing to code bloat and a superabundance of features.

Note: Textadept 11 has recently been released, which has many API and configuration changes compared to 10.8. See the migration guide for more information on those changes. Wiki content should be up to date, but content in external links may not be.


Wiki Editing Tips

Search for 'textadept' on GitHub: https://github.com/search?o=desc&q=textadept&s=updated&type=Repositories

Search for 'textadept' on GitLab: https://gitlab.com/search?search=textadept

Textadept topic on GitHub: https://github.com/topics/textadept

Language Modules

Official modules for HTML, CSS, Ruby, Python, ReST, and YAML are available as a zipped release and in various repositories.

The following may not be compatible with Textadept 11 yet

  • CoffeeScript dead link
  • Python -- Helps automate indentation in Python code. dead link
  • LaTeX -- Snippets for LaTeX markup. dead link
  • ConTeXt/LaTeX
  • XML -- Closes XML tags as you type them. Can automatically close tags at the cursor position. Contains several XSLT snippets. dead link
  • Hypertext add-on -- Several of the above XML module's features, plus a limited implementation of the Zen Coding abbreviation engine. Requires the official Hypertext module. dead link
  • Moonscript -- And another one by the creator of the language. dead link
  • Toml -- A small module with snippets. dead link
  • Rust -- This thing has everything you could think of for working with the Rust language. dead link
  • YANG -- A module for YANG.

Modules

  • Textredux (https://github.com/rgieseke/textredux) -- Offers a set of text based replacement interfaces for core Textadept functionality, including a powerful file browser, buffer list, etc.
  • textadept-vi (https://github.com/jugglerchris/textadept-vi) Some customisation for textadept to make it feel a bit like vim.
  • Lua REPL -- A Lua REPL using Textadept's Lua State.
  • ctags -- A module for autoloading ctags, jumping between them, and autocompleting from them.
  • Spell Checking -- A module for spell checking.
  • File diffing -- A module for visualizing and merging the differences between two files.
  • Export -- A module for exporting buffers to various formats like HTML for printing.
  • LSP client module that communicates over the Language Server Protocol with language servers in order to provide autocompletion, callips, go to definition, etc. Sample language server configurations are here.
  • File browser -- A simple split-view file browser pane.
  • Elastic Tabstops -- An implementation of Nick Gravgaard’s Elastic Tabstops mechanism.
  • textadept-hydra -- Modeled on the emacs hydra plugin. Allows you to define key maps for related commands, with the ability to easily repeat commands by using a single keystroke.
  • Analyzer -- A static analysis framework for Textadept. Currently, the module integrates luacheck and shows annotations and indicators (squiggle markers) for errors and warnings within the code editor.

The following may not be compatible with Textadept 11 yet

  • Comments
  • Hastebin -- A hastebin client module for Textadept. dead link
  • Lapis -- A module to work with the lapis web framework. dead link
  • Love -- A module to work with the LÖVE game engine. dead link
  • Linux -- A linux kernel development module. Pretty simple, but works and makes life easier when working on those kernel modules or other kernel business. dead link
  • Macro -- A simple module for recording and replaying of keyboard macros.
  • Relative line numbers -- Module to display relative line numbers. Especially useful alongside vim-like modules.

Functions

Themes

Collection of Modifications, ~/.textadept

Theming

Snippets

  • Library
  • Extra -- A module for adding snippets/changes to languages on Textadept, without having to write modules for each one. dead link

Articles, Guides, and Write-ups

Miscellaneous


Notes and Scripts for Old Versions

Stuff Only Working for 10.x

Modules

  • George's module collection -- A collection of my most frequently used modules, from a simple line centering utility to a reasonably complete macro facility.
  • Lua pattern find -- Brings back Textadept's Lua pattern searches and toggles between them and regular expression searches.
  • Enhanced Show Style -- Modify the "show style" tooltip to display the names of characters (code points) and the bytes that actually appear in the saved version of the file.

Themes

Lexers

Miscellaneous

Stuff Only Working for 9.x

Miscellaneous

Stuff Only Working for 8.x

Modules

  • Version control -- A rudimentary version control module that supports basic VCS features from within Textadept.
  • Multiedit -- Better multi selection navigation/editing (sublimeish)

Stuff Only Working for 7.x

Language Modules

  • A group of unsupported modules (including Adeptsenses) for Java, PHP, RHTML, Ruby, and Ruby on Rails can be found here

Modules

  • Adeptsense - code autocompletion and documentation.

Miscellaneous

Stuff Only Working for 6.x

Themes

Stuff Only Working for 5.x

Language Modules

  • Javascript -- Provides adeptsense autocompletion for several DOM methods and a subset of jQuery.

Themeing

Stuff Only Working for 3.x and 4.x

Language Modules

Modules

Functions

Themes

Snippets

Miscellaneous