A small and easy to use console text editor.
- Multiple buffers/tabs
- Unlimited undo/redo
- Regex search and replace
- Syntax highlighting
- Customizable color schemes
- Customizable key bindings
- Support for all xterm Ctrl/Alt/Shift key codes
- Command language with auto-completion
- Unicode 13 compatible text rendering
- Support for multiple encodings (using iconv)
- Jump to definition (using ctags)
- Jump to compiler error
- EditorConfig support
dte
can be installed via package manager on the following platforms:
OS | Install command |
---|---|
Debian Testing | 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 |
OS X (Homebrew) | brew tap yumitsu/dte && brew install dte |
Android (Termux) | pkg install dte |
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.10.tar.gz
tar -xzf dte-1.10.tar.gz
cd dte-1.10
...and compile and install:
make && sudo make install
After installing, you can access the documentation in man page format
via man 1 dte
, man 5 dterc
and man 5 dte-syntax
.
Online documentation is also available at https://craigbarnes.gitlab.io/dte/.
See docs/packaging.md
.
For linux user, you can always try play with the newest version from here.
At the moment, bindings that include Ctrl
must use uppercase letters. e.g.
bind C-y 'paste -c'
should change to bind C-Y 'paste -c'
.
I've been thinking about this problem for a long time, but it's hard to fix without breaking backwards compatibility, It's been this way since the code was forked from dex.
Until I fix the problem, I think dte -K
is the most useful way to see how
to bind key combinations.
For now, copying and pasting in dte use the primary selection, in the future,
I will be adding a new option to the copy
and paste
commands to allow
copying and pasting from the system (X11/Wayland/Mac) clipboard, as did in
emacs since 24.1.
Copyright (C) 2017-2021 Craig Barnes.
Copyright (C) 2010-2015 Timo Hirvonen.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.