dte
A small and easy to use console text editor.
Features
- Multiple buffers/tabs
- Unlimited undo/redo
- Regex search and replace
- Syntax highlighting
- Customizable color schemes (including 24-bit RGB)
- Customizable key bindings
- Command language with auto-completion
- Unicode 15 compatible text rendering
- Support for all xterm key combos (including
modifyOtherKeys
) - Support for kitty's keyboard protocol
- Support for terminal synchronized updates (to eliminate screen tearing)
- Support for multiple encodings (using iconv)
- Jump to definition (using ctags)
- Jump to compiler error
- Copy to system clipboard (using OSC 52, which works over SSH)
- EditorConfig support
- Minimal dependencies (just libc on most systems)
- Portable (to any POSIX 2008 operating system)
- Fast startup (~10ms)
Screenshot
Installing
dte
can be installed via package manager on the
following platforms:
OS | Install command |
---|---|
Debian | apt-get install dte |
Ubuntu | apt-get install dte |
Arch Linux (AUR) | $AUR_HELPER -S dte |
Void Linux | xbps-install -S dte |
Slackware (SlackBuilds) | See: SlackBuild Usage HOWTO |
FreeBSD | pkg install dte |
DragonFly BSD (DPorts) | pkg install dte |
OpenBSD | pkg_add dte |
NetBSD (pkgsrc) | pkg_add dte |
macOS (Homebrew) | brew tap yumitsu/dte && brew install dte |
Android (Termux) | pkg install dte |
Building
To build from source, first ensure the following dependencies are installed:
...then download and unpack the latest release tarball:
curl -LO https://craigbarnes.gitlab.io/dist/dte/dte-1.11.1.tar.gz
tar -xzf dte-1.11.1.tar.gz
cd dte-1.11.1
...and compile and install:
make && sudo make install
Note to macOS users: macOS still ships with GNU Make
3.81, so you'll likely have to install a more recent version with brew
and then use
gmake
in place of make
. For example:
brew install make
gmake && sudo gmake install
Documentation
After installing, you can access the documentation in man page format
via man 1 dte
, man 5 dterc
and
man 5 dte-syntax
.
Source Code
The primary git repository and issue tracker is hosted at https://gitlab.com/craigbarnes/dte.
The project is also on various other code hosting sites, but these are only secondary mirrors and may occasionally lag behind GitLab by a few hours.