Skip to content
A text editor in less than 1000 LOC with syntax highlight and search.
Branch: master
Clone or download
Latest commit 62b099a Jul 10, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore First public alpha version. Jul 10, 2016
LICENSE First public alpha version. Jul 10, 2016
Makefile First public alpha version. Jul 10, 2016 Fix README typo. Jul 10, 2016
kilo.c Be serious with version number. Jul 10, 2016


Kilo is a small text editor in less than 1K lines of code (counted with cloc).

A screencast is available here:

Usage: kilo <filename>


CTRL-S: Save
CTRL-Q: Quit
CTRL-F: Find string in file (ESC to exit search, arrows to navigate)

Kilo does not depend on any library (not even curses). It uses fairly standard VT100 (and similar terminals) escape sequences. The project is in alpha stage and was written in just a few hours taking code from my other two projects, load81 and linenoise.

People are encouraged to use it as a starting point to write other editors or command line interfaces that are more advanced than the usual REPL style CLI.

Kilo was written by Salvatore Sanfilippo aka antirez and is released under the BSD 2 clause license.

You can’t perform that action at this time.