Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

kilo

> 编程语言
Open source

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

9.1K stars0 likes1 views
WebsiteGitHub

About

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

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 <filename>

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.

Issues· 64 open

View all issuesOpen on GitHub
  • #127

    editorFindCallback prevents search results navigation

    Updated Aug 27, 2026
  • #124

    SUBJECT: Inquiry regarding inconsistent sizing in `editorSyntax` struct

    Updated Jul 8, 2026
  • #117

    editorDelRow increments row indices instead of decrementing them

    Updated Mar 12, 2026
  • #114

    Multi-line comment highlighting breaks after row deletion

    Updated Feb 6, 2026
  • #109

    Double cursor shift with accented characters

    Updated Sep 15, 2025
  • #100

    Enhance memory safety and buffer initialization for stability

    Updated Jun 5, 2025
  • #94

    Segfault at if '\<letter>' entered inside string & if compiled with musl-gcc (a proposed fix is also included)

    Updated Feb 14, 2024
  • #76

    Seg Fault

    Updated Jan 14, 2024
  • #29

    Non printable characters aren't substituted.

    Updated Aug 18, 2023
  • #84

    Syntax Highlighting Segfault

    Updated Apr 28, 2023

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言