Description
mle is a small text editor for the terminal, written in C. It runs on Linux, on Windows through Cygwin or WSL, on FreeBSD and on macOS. The project aims to keep the codebase small and hackable, with few build-time or run-time dependencies, and it uses ordinary shell tools for extra features. Editing features include full UTF-8 support, syntax highlighting, linear undo and redo, multiple cursors, auto indent, window splitting, regex search and replace, incremental search and key macros. It handles large files, can be extended and configured through Lua and a scriptable rc file, and uses stackable key map modes. Navigation can use ctags, fuzzy file search through fzf, tree and grep. A headless mode is included. It suits people who work in the terminal and want a light editor they can read and change. The source is public on GitHub and can be built with make or installed from common package managers.…
Highlights
- Small C codebase with full UTF-8 support
- Syntax highlighting, multiple cursors and linear undo
- Lua extensions, a scriptable rc file and key macros
- Regex search and replace with incremental search
- Large file support and a headless mode
Ratings & Reviews
No ratings yet
Be the first to rate Mle.
People also visit
Mle FAQ
What is mle?
A small, flexible text editor for the terminal, written in C.
Which platforms does it run on?
Linux, Windows through Cygwin or WSL, FreeBSD and macOS, according to the project page.
How do I install it?
Install it from your package manager where it is available, such as apt, dnf, pkg, yay or snap. To build from source, clone the repository with its submodules, run make mle_vendor=1, then make install.
Can I extend it?
Yes. It is extensible through Lua and has a scriptable rc file, key macros and stackable key map modes.
Is it open source?
Yes. The source is public on GitHub.
What are the best Mle alternatives?
Popular alternatives to Mle include Micro, Ledit and Dte. See all Mle alternatives


