z_mirror/hare-kilo

git clone https://git.raiguard.me/z_mirror/hare-kilo

Caleb HeuerInitial commit15fc942

trunk
671 B29 linesraw

hare-kilo

A small text editor written in Hare. Loosely based on the kilo text editor, though the similarities are few.

Build and run:

make
./kilo <filename>

Controls:

  • Arrow keys: move
  • Home, end, page up, page down: Move faster
  • Ctrl+S: Save
  • Ctrl+Q: Quit
  • Any ASCII character: insert

If ctrl+s and ctrl+q are not being detected, add stty -ixon to your shell init script to disable shell freezing. The planned input overhaul should address this issue.

Todo:

  • Overhaul input handling to allow unicode input (kitty escape codes)
  • Syntax highlighting
  • Reduce terminal CPU usage when holding keys
  • Vim mode?
1# hare-kilo
2
3A small text editor written in Hare. Loosely based on the
4[kilo](https://github.com/antirez/kilo) text editor, though the similarities
5are few.
6
7Build and run:
8
9```
10make
11./kilo <filename>
12```
13
14Controls:
15- Arrow keys: move
16- Home, end, page up, page down: Move faster
17- `Ctrl+S`: Save
18- `Ctrl+Q`: Quit
19- Any ASCII character: insert
20
21If ctrl+s and ctrl+q are not being detected, add `stty -ixon` to your shell
22init script to disable shell freezing. The planned input overhaul should
23address this issue.
24
25Todo:
26- Overhaul input handling to allow unicode input (kitty escape codes)
27- Syntax highlighting
28- Reduce terminal CPU usage when holding keys
29- Vim mode?