6 releases

Uses new Rust 2024

0.2.3 Oct 14, 2026
0.2.2 Oct 13, 2026
0.1.0 Sep 28, 2026
0.0.1 Jul 21, 2025

#1283 in Text editors

MIT license

175KB
2.5K SLoC

kk

Crates.io Actions Status License

A TUI text editor.

kk is an abbreviation for "KaKu (書く)" (meaning "to write" in Japanese).

Features

  • E-ink display friendly with black and white interface
  • Mouse support (click, scroll up / down)
  • No implicit behaviors
    • No background tasks running
  • Not an environment, just a writing tool
    • I use kk in combination with the following tools:
      • tmux (for multi-window management)
      • mamediff (for git diff management)
      • mamegrep (for multi-file search)
      • attini (for LLM coding agent)

Intentionally Unsupported Features

  • Color
  • Syntax Highlight
  • Plugin / Extension system
  • Configuration file
  • Multi (split) windows
  • LSP

Installation

$ cargo install kk

$ kk -h
A TUI text editor

Usage: kk [OPTIONS] FILE

Example:
  $ kk /path/to/file

Arguments:
  FILE A file, optionally followed by :LINE to start at, or :LINE:COLUMN

Options:
      --version     Print version
  -h, --help        Print help ('--help' for full help, '-h' for summary)
  -c, --create-new  Create the file, which must not already exist
  -t, --tail        Open at the end of the file
      --hide-legend Start with the key-binding legend hidden [env: KK_HIDE_LEGEND]
      --hide-legend Start with the key-binding legend hidden [env: KK_HIDE_LEGEND]

Dependencies

~1.5MB
~28K SLoC