antirez /kilo

A text editor in less than 1000 LOC with syntax highlight and search.

★ 9,214⑂ 1,008👁 142▤ 0
CCreated 2016-07-10
9,214
stars
+0+-1+49
1,008
forks
142
watchers
–
prs
–
issues
0
releases
–
discussions

README

Kilo
===

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

A screencast is available here: https://asciinema.org/a/90r2i9bq8po03nazhqtsifksb

Usage: kilo 

Keys:

    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.

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON