dte
Small configurable terminal text editor
TLDR
SYNOPSIS
dte [options] [files]
DESCRIPTION
dte is a small, fast, and configurable terminal text editor designed to be lightweight yet powerful. It features syntax highlighting for many languages, multiple buffers, split windows, and a clean command interface similar to vi/vim but with different key bindings.
The editor is written in C with minimal dependencies, making it suitable for resource-constrained environments. It supports macros, regular expression search, and customizable key bindings through configuration files.
PARAMETERS
+N
Start at line N-R, --read-only
Open in read-only mode-c, --config FILE
Use specified configuration file-h, --help
Display help and exit-V, --version
Display version and exit
CONFIGURATION
Configuration file location:
- ~/.dterc
- ~/.config/dte/dterc
Example configuration:
set tab-width 4
set show-line-numbers true
KEYBINDINGS
Ctrl+S
Save fileCtrl+Q
QuitCtrl+F
SearchCtrl+G
Go to lineCtrl+W
Close bufferCtrl+N
New fileCtrl+O
Open fileCtrl+Z
Suspend editorTab
Indent/AutocompleteShift+Tab
Unindent
CAVEATS
Different key bindings than vi/vim may require adjustment period. Some advanced features require compilation with specific options. Terminal compatibility varies. No built-in scripting language like Vimscript or Emacs Lisp.
HISTORY
dte was created by Craig Barnes as a lightweight alternative to larger editors. It aims to provide essential editing features in a small footprint while remaining easy to configure and extend.

