Kilo
A text editor in less than 1000 LOC with syntax highlight and search
Kilo is a minimalistic terminal text editor written in C, famous for fitting its full implementation into fewer than 1,000 lines of code in a single source file. It was created by Salvatore Sanfilippo (antirez, also known for Redis) as an exercise in writing a small, self-contained editor that others can study and extend. Despite its tiny size, Kilo supports core editor features like opening and saving files, incremental search, and basic syntax highlighting. It deliberately avoids external dependencies, not even using curses; instead it talks directly to the terminal using VT100 escape sequences, making it portable to most Unix-like systems with a compatible terminal. ...