pkazmier / textadept-emacs

Textadept Emacs Compatibility Module
5 stars 3 forks source link

Textadept Emacs Compatibility Module

TextAdept is an extensible cross-platform text editor for programmers. It has been written in C and Lua and is fully extensible. This module currently addes a handful of Emacs features to TextAdept including the basic key bindings as well as interactive function support.

Note: This module is no longer compatible with current versions of textadept. The internal API has changed and I've switched to VSCode for my primary editor. There will be no further updates.

Installation

In your $HOME/.textadept/modules directory, clone the repository:

$ git clone http://github.com/pkazmier/textadept-emacs.git emacs

Then in your $HOME/.textadept/init.lua file, add the following lines:

-- Load emacs compatibility mode
_M.emacs = require 'emacs'

-- Activate the emacs keybindings if desired
_M.emacs.keys.enable()